pub struct Ptr<T: ?Sized>where
Self: PtrExtern,{
ptr: *mut c_void,
_d: PhantomData<T>,
}Expand description
This is similar to Rust Arc, but handled by the C++. Some OpenCV functions insist on accepting Ptr instead of a heap
allocated object so we need to satisfy those.
Fields§
§ptr: *mut c_void§_d: PhantomData<T>Implementations§
source§impl<T: ?Sized> Ptr<T>where
Self: PtrExtern,
impl<T: ?Sized> Ptr<T>where
Self: PtrExtern,
sourcepub fn new(val: T) -> Selfwhere
T: OpenCVTypeExternContainerMove + Sized,
Self: PtrExternCtor<T>,
pub fn new(val: T) -> Selfwhere
T: OpenCVTypeExternContainerMove + Sized,
Self: PtrExternCtor<T>,
Create a new Ptr from the object
sourcepub fn inner_as_raw(&self) -> *const c_void
pub fn inner_as_raw(&self) -> *const c_void
Get raw pointer to the inner object
sourcepub fn inner_as_raw_mut(&mut self) -> *mut c_void
pub fn inner_as_raw_mut(&mut self) -> *mut c_void
Get mutable raw pointer to the inner object
source§impl Ptr<Algorithm>
impl Ptr<Algorithm>
pub fn as_raw_PtrOfAlgorithm( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfAlgorithm( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ConjGradSolver>
impl Ptr<ConjGradSolver>
pub fn as_raw_PtrOfConjGradSolver( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfConjGradSolver( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<DownhillSolver>
impl Ptr<DownhillSolver>
pub fn as_raw_PtrOfDownhillSolver( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfDownhillSolver( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<FileStorage>
impl Ptr<FileStorage>
pub fn as_raw_PtrOfFileStorage( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfFileStorage( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<Formatted>
impl Ptr<Formatted>
pub fn as_raw_PtrOfFormatted( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfFormatted( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<Formatter>
impl Ptr<Formatter>
pub fn as_raw_PtrOfFormatter( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfFormatter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<GpuMat_Allocator>
impl Ptr<GpuMat_Allocator>
pub fn as_raw_PtrOfGpuMat_Allocator( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfGpuMat_Allocator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<MinProblemSolver>
impl Ptr<MinProblemSolver>
pub fn as_raw_PtrOfMinProblemSolver( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfMinProblemSolver( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<MinProblemSolver_Function>
impl Ptr<MinProblemSolver_Function>
pub fn as_raw_PtrOfMinProblemSolver_Function( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfMinProblemSolver_Function( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<f32>
impl Ptr<f32>
pub fn as_raw_PtrOff32(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOff32( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<AbsLayer>
impl Ptr<AbsLayer>
pub fn as_raw_PtrOfAbsLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfAbsLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<AccumLayer>
impl Ptr<AccumLayer>
pub fn as_raw_PtrOfAccumLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfAccumLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ActivationLayer>
impl Ptr<ActivationLayer>
pub fn as_raw_PtrOfActivationLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfActivationLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ActivationLayerInt8>
impl Ptr<ActivationLayerInt8>
pub fn as_raw_PtrOfActivationLayerInt8( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfActivationLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<BNLLLayer>
impl Ptr<BNLLLayer>
pub fn as_raw_PtrOfBNLLLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfBNLLLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<BackendNode>
impl Ptr<BackendNode>
pub fn as_raw_PtrOfBackendNode( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfBackendNode( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<BackendWrapper>
impl Ptr<BackendWrapper>
pub fn as_raw_PtrOfBackendWrapper( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfBackendWrapper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<BaseConvolutionLayer>
impl Ptr<BaseConvolutionLayer>
pub fn as_raw_PtrOfBaseConvolutionLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfBaseConvolutionLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<BatchNormLayer>
impl Ptr<BatchNormLayer>
pub fn as_raw_PtrOfBatchNormLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfBatchNormLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<BatchNormLayerInt8>
impl Ptr<BatchNormLayerInt8>
pub fn as_raw_PtrOfBatchNormLayerInt8( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfBatchNormLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<BlankLayer>
impl Ptr<BlankLayer>
pub fn as_raw_PtrOfBlankLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfBlankLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ChannelsPReLULayer>
impl Ptr<ChannelsPReLULayer>
pub fn as_raw_PtrOfChannelsPReLULayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfChannelsPReLULayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ConcatLayer>
impl Ptr<ConcatLayer>
pub fn as_raw_PtrOfConcatLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfConcatLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ConstLayer>
impl Ptr<ConstLayer>
pub fn as_raw_PtrOfConstLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfConstLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ConvolutionLayer>
impl Ptr<ConvolutionLayer>
pub fn as_raw_PtrOfConvolutionLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfConvolutionLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ConvolutionLayerInt8>
impl Ptr<ConvolutionLayerInt8>
pub fn as_raw_PtrOfConvolutionLayerInt8( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfConvolutionLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<CorrelationLayer>
impl Ptr<CorrelationLayer>
pub fn as_raw_PtrOfCorrelationLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfCorrelationLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<CropAndResizeLayer>
impl Ptr<CropAndResizeLayer>
pub fn as_raw_PtrOfCropAndResizeLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfCropAndResizeLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<CropLayer>
impl Ptr<CropLayer>
pub fn as_raw_PtrOfCropLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfCropLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<CumSumLayer>
impl Ptr<CumSumLayer>
pub fn as_raw_PtrOfCumSumLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfCumSumLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<DataAugmentationLayer>
impl Ptr<DataAugmentationLayer>
pub fn as_raw_PtrOfDataAugmentationLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfDataAugmentationLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<DeconvolutionLayer>
impl Ptr<DeconvolutionLayer>
pub fn as_raw_PtrOfDeconvolutionLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfDeconvolutionLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<DequantizeLayer>
impl Ptr<DequantizeLayer>
pub fn as_raw_PtrOfDequantizeLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfDequantizeLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<DetectionOutputLayer>
impl Ptr<DetectionOutputLayer>
pub fn as_raw_PtrOfDetectionOutputLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfDetectionOutputLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ELULayer>
impl Ptr<ELULayer>
pub fn as_raw_PtrOfELULayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfELULayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<EltwiseLayer>
impl Ptr<EltwiseLayer>
pub fn as_raw_PtrOfEltwiseLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfEltwiseLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<EltwiseLayerInt8>
impl Ptr<EltwiseLayerInt8>
pub fn as_raw_PtrOfEltwiseLayerInt8( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfEltwiseLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ExpLayer>
impl Ptr<ExpLayer>
pub fn as_raw_PtrOfExpLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfExpLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<FlattenLayer>
impl Ptr<FlattenLayer>
pub fn as_raw_PtrOfFlattenLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfFlattenLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<FlowWarpLayer>
impl Ptr<FlowWarpLayer>
pub fn as_raw_PtrOfFlowWarpLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfFlowWarpLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<GRULayer>
impl Ptr<GRULayer>
pub fn as_raw_PtrOfGRULayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfGRULayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<InnerProductLayer>
impl Ptr<InnerProductLayer>
pub fn as_raw_PtrOfInnerProductLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfInnerProductLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<InnerProductLayerInt8>
impl Ptr<InnerProductLayerInt8>
pub fn as_raw_PtrOfInnerProductLayerInt8( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfInnerProductLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<InterpLayer>
impl Ptr<InterpLayer>
pub fn as_raw_PtrOfInterpLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfInterpLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<LRNLayer>
impl Ptr<LRNLayer>
pub fn as_raw_PtrOfLRNLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfLRNLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<LSTMLayer>
impl Ptr<LSTMLayer>
pub fn as_raw_PtrOfLSTMLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfLSTMLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<Layer>
impl Ptr<Layer>
pub fn as_raw_PtrOfLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<MVNLayer>
impl Ptr<MVNLayer>
pub fn as_raw_PtrOfMVNLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfMVNLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<MaxUnpoolLayer>
impl Ptr<MaxUnpoolLayer>
pub fn as_raw_PtrOfMaxUnpoolLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfMaxUnpoolLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<MishLayer>
impl Ptr<MishLayer>
pub fn as_raw_PtrOfMishLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfMishLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<NormalizeBBoxLayer>
impl Ptr<NormalizeBBoxLayer>
pub fn as_raw_PtrOfNormalizeBBoxLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfNormalizeBBoxLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<PaddingLayer>
impl Ptr<PaddingLayer>
pub fn as_raw_PtrOfPaddingLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfPaddingLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<PermuteLayer>
impl Ptr<PermuteLayer>
pub fn as_raw_PtrOfPermuteLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfPermuteLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<PoolingLayer>
impl Ptr<PoolingLayer>
pub fn as_raw_PtrOfPoolingLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfPoolingLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<PoolingLayerInt8>
impl Ptr<PoolingLayerInt8>
pub fn as_raw_PtrOfPoolingLayerInt8( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfPoolingLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<PowerLayer>
impl Ptr<PowerLayer>
pub fn as_raw_PtrOfPowerLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfPowerLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<PriorBoxLayer>
impl Ptr<PriorBoxLayer>
pub fn as_raw_PtrOfPriorBoxLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfPriorBoxLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ProposalLayer>
impl Ptr<ProposalLayer>
pub fn as_raw_PtrOfProposalLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfProposalLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<QuantizeLayer>
impl Ptr<QuantizeLayer>
pub fn as_raw_PtrOfQuantizeLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfQuantizeLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<RNNLayer>
impl Ptr<RNNLayer>
pub fn as_raw_PtrOfRNNLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfRNNLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ReLU6Layer>
impl Ptr<ReLU6Layer>
pub fn as_raw_PtrOfReLU6Layer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfReLU6Layer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ReLULayer>
impl Ptr<ReLULayer>
pub fn as_raw_PtrOfReLULayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfReLULayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<RegionLayer>
impl Ptr<RegionLayer>
pub fn as_raw_PtrOfRegionLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfRegionLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ReorgLayer>
impl Ptr<ReorgLayer>
pub fn as_raw_PtrOfReorgLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfReorgLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<RequantizeLayer>
impl Ptr<RequantizeLayer>
pub fn as_raw_PtrOfRequantizeLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfRequantizeLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ReshapeLayer>
impl Ptr<ReshapeLayer>
pub fn as_raw_PtrOfReshapeLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfReshapeLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ResizeLayer>
impl Ptr<ResizeLayer>
pub fn as_raw_PtrOfResizeLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfResizeLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ScaleLayer>
impl Ptr<ScaleLayer>
pub fn as_raw_PtrOfScaleLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfScaleLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ScaleLayerInt8>
impl Ptr<ScaleLayerInt8>
pub fn as_raw_PtrOfScaleLayerInt8( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfScaleLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ShiftLayer>
impl Ptr<ShiftLayer>
pub fn as_raw_PtrOfShiftLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfShiftLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ShiftLayerInt8>
impl Ptr<ShiftLayerInt8>
pub fn as_raw_PtrOfShiftLayerInt8( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfShiftLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<ShuffleChannelLayer>
impl Ptr<ShuffleChannelLayer>
pub fn as_raw_PtrOfShuffleChannelLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfShuffleChannelLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<SigmoidLayer>
impl Ptr<SigmoidLayer>
pub fn as_raw_PtrOfSigmoidLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfSigmoidLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<SliceLayer>
impl Ptr<SliceLayer>
pub fn as_raw_PtrOfSliceLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfSliceLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<SoftmaxLayer>
impl Ptr<SoftmaxLayer>
pub fn as_raw_PtrOfSoftmaxLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfSoftmaxLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<SoftmaxLayerInt8>
impl Ptr<SoftmaxLayerInt8>
pub fn as_raw_PtrOfSoftmaxLayerInt8( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfSoftmaxLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<SplitLayer>
impl Ptr<SplitLayer>
pub fn as_raw_PtrOfSplitLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfSplitLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<SwishLayer>
impl Ptr<SwishLayer>
pub fn as_raw_PtrOfSwishLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfSwishLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<TanHLayer>
impl Ptr<TanHLayer>
pub fn as_raw_PtrOfTanHLayer( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfTanHLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<CLAHE>
impl Ptr<CLAHE>
pub fn as_raw_PtrOfCLAHE( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfCLAHE( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<GeneralizedHough>
impl Ptr<GeneralizedHough>
pub fn as_raw_PtrOfGeneralizedHough( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfGeneralizedHough( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<GeneralizedHoughBallard>
impl Ptr<GeneralizedHoughBallard>
pub fn as_raw_PtrOfGeneralizedHoughBallard( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfGeneralizedHoughBallard( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<GeneralizedHoughGuil>
impl Ptr<GeneralizedHoughGuil>
pub fn as_raw_PtrOfGeneralizedHoughGuil( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfGeneralizedHoughGuil( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
source§impl Ptr<LineSegmentDetector>
impl Ptr<LineSegmentDetector>
pub fn as_raw_PtrOfLineSegmentDetector( &self ) -> <Self as OpenCVTypeExternContainer>::ExternSend
pub fn as_raw_mut_PtrOfLineSegmentDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut
Methods from Deref<Target = f32>§
pub const RADIX: u32 = 2u32
pub const MANTISSA_DIGITS: u32 = 24u32
pub const DIGITS: u32 = 6u32
pub const EPSILON: f32 = 1.1920929E-7f32
pub const MIN: f32 = -3.40282347E+38f32
pub const MIN_POSITIVE: f32 = 1.17549435E-38f32
pub const MAX: f32 = 3.40282347E+38f32
pub const MIN_EXP: i32 = -125i32
pub const MAX_EXP: i32 = 128i32
pub const MIN_10_EXP: i32 = -37i32
pub const MAX_10_EXP: i32 = 38i32
pub const NAN: f32 = NaN_f32
pub const INFINITY: f32 = +Inf_f32
pub const NEG_INFINITY: f32 = -Inf_f32
1.62.0 · sourcepub fn total_cmp(&self, other: &f32) -> Ordering
pub fn total_cmp(&self, other: &f32) -> Ordering
Return the ordering between self and other.
Unlike the standard partial comparison between floating point numbers,
this comparison always produces an ordering in accordance to
the totalOrder predicate as defined in the IEEE 754 (2008 revision)
floating point standard. The values are ordered in the following sequence:
- negative quiet NaN
- negative signaling NaN
- negative infinity
- negative numbers
- negative subnormal numbers
- negative zero
- positive zero
- positive subnormal numbers
- positive numbers
- positive infinity
- positive signaling NaN
- positive quiet NaN.
The ordering established by this function does not always agree with the
PartialOrd and PartialEq implementations of f32. For example,
they consider negative and positive zero equal, while total_cmp
doesn’t.
The interpretation of the signaling NaN bit follows the definition in the IEEE 754 standard, which may not match the interpretation by some of the older, non-conformant (e.g. MIPS) hardware implementations.
§Example
struct GoodBoy {
name: String,
weight: f32,
}
let mut bois = vec![
GoodBoy { name: "Pucci".to_owned(), weight: 0.1 },
GoodBoy { name: "Woofer".to_owned(), weight: 99.0 },
GoodBoy { name: "Yapper".to_owned(), weight: 10.0 },
GoodBoy { name: "Chonk".to_owned(), weight: f32::INFINITY },
GoodBoy { name: "Abs. Unit".to_owned(), weight: f32::NAN },
GoodBoy { name: "Floaty".to_owned(), weight: -5.0 },
];
bois.sort_by(|a, b| a.weight.total_cmp(&b.weight));
// `f32::NAN` could be positive or negative, which will affect the sort order.
if f32::NAN.is_sign_negative() {
assert!(bois.into_iter().map(|b| b.weight)
.zip([f32::NAN, -5.0, 0.1, 10.0, 99.0, f32::INFINITY].iter())
.all(|(a, b)| a.to_bits() == b.to_bits()))
} else {
assert!(bois.into_iter().map(|b| b.weight)
.zip([-5.0, 0.1, 10.0, 99.0, f32::INFINITY, f32::NAN].iter())
.all(|(a, b)| a.to_bits() == b.to_bits()))
}Trait Implementations§
source§impl AbsLayerTrait for Ptr<AbsLayer>
impl AbsLayerTrait for Ptr<AbsLayer>
fn as_raw_mut_AbsLayer(&mut self) -> *mut c_void
source§impl AbsLayerTraitConst for Ptr<AbsLayer>
impl AbsLayerTraitConst for Ptr<AbsLayer>
fn as_raw_AbsLayer(&self) -> *const c_void
source§impl AccumLayerTrait for Ptr<AccumLayer>
impl AccumLayerTrait for Ptr<AccumLayer>
fn as_raw_mut_AccumLayer(&mut self) -> *mut c_void
source§impl AccumLayerTraitConst for Ptr<AccumLayer>
impl AccumLayerTraitConst for Ptr<AccumLayer>
fn as_raw_AccumLayer(&self) -> *const c_void
source§impl ActivationLayerInt8Trait for Ptr<ActivationLayerInt8>
impl ActivationLayerInt8Trait for Ptr<ActivationLayerInt8>
fn as_raw_mut_ActivationLayerInt8(&mut self) -> *mut c_void
source§impl ActivationLayerInt8TraitConst for Ptr<ActivationLayerInt8>
impl ActivationLayerInt8TraitConst for Ptr<ActivationLayerInt8>
fn as_raw_ActivationLayerInt8(&self) -> *const c_void
source§impl ActivationLayerTrait for Ptr<AbsLayer>
impl ActivationLayerTrait for Ptr<AbsLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ActivationLayer>
impl ActivationLayerTrait for Ptr<ActivationLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ActivationLayerInt8>
impl ActivationLayerTrait for Ptr<ActivationLayerInt8>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<BNLLLayer>
impl ActivationLayerTrait for Ptr<BNLLLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<BatchNormLayer>
impl ActivationLayerTrait for Ptr<BatchNormLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<BatchNormLayerInt8>
impl ActivationLayerTrait for Ptr<BatchNormLayerInt8>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ChannelsPReLULayer>
impl ActivationLayerTrait for Ptr<ChannelsPReLULayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ELULayer>
impl ActivationLayerTrait for Ptr<ELULayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ExpLayer>
impl ActivationLayerTrait for Ptr<ExpLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<MishLayer>
impl ActivationLayerTrait for Ptr<MishLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<PowerLayer>
impl ActivationLayerTrait for Ptr<PowerLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ReLU6Layer>
impl ActivationLayerTrait for Ptr<ReLU6Layer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ReLULayer>
impl ActivationLayerTrait for Ptr<ReLULayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<SigmoidLayer>
impl ActivationLayerTrait for Ptr<SigmoidLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<SwishLayer>
impl ActivationLayerTrait for Ptr<SwishLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<TanHLayer>
impl ActivationLayerTrait for Ptr<TanHLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTraitConst for Ptr<AbsLayer>
impl ActivationLayerTraitConst for Ptr<AbsLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ActivationLayer>
impl ActivationLayerTraitConst for Ptr<ActivationLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ActivationLayerInt8>
impl ActivationLayerTraitConst for Ptr<ActivationLayerInt8>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<BNLLLayer>
impl ActivationLayerTraitConst for Ptr<BNLLLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<BatchNormLayer>
impl ActivationLayerTraitConst for Ptr<BatchNormLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<BatchNormLayerInt8>
impl ActivationLayerTraitConst for Ptr<BatchNormLayerInt8>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ChannelsPReLULayer>
impl ActivationLayerTraitConst for Ptr<ChannelsPReLULayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ELULayer>
impl ActivationLayerTraitConst for Ptr<ELULayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ExpLayer>
impl ActivationLayerTraitConst for Ptr<ExpLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<MishLayer>
impl ActivationLayerTraitConst for Ptr<MishLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<PowerLayer>
impl ActivationLayerTraitConst for Ptr<PowerLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ReLU6Layer>
impl ActivationLayerTraitConst for Ptr<ReLU6Layer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ReLULayer>
impl ActivationLayerTraitConst for Ptr<ReLULayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<SigmoidLayer>
impl ActivationLayerTraitConst for Ptr<SigmoidLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<SwishLayer>
impl ActivationLayerTraitConst for Ptr<SwishLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<TanHLayer>
impl ActivationLayerTraitConst for Ptr<TanHLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice( &self, src: &f32, dst: &mut f32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
fn forward_slice_1( &self, src: &i32, lut: &i32, dst: &mut i32, len: i32, out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>
source§impl AlgorithmTrait for Ptr<AbsLayer>
impl AlgorithmTrait for Ptr<AbsLayer>
source§impl AlgorithmTrait for Ptr<AccumLayer>
impl AlgorithmTrait for Ptr<AccumLayer>
source§impl AlgorithmTrait for Ptr<ActivationLayer>
impl AlgorithmTrait for Ptr<ActivationLayer>
source§impl AlgorithmTrait for Ptr<ActivationLayerInt8>
impl AlgorithmTrait for Ptr<ActivationLayerInt8>
source§impl AlgorithmTrait for Ptr<Algorithm>
impl AlgorithmTrait for Ptr<Algorithm>
source§impl AlgorithmTrait for Ptr<BNLLLayer>
impl AlgorithmTrait for Ptr<BNLLLayer>
source§impl AlgorithmTrait for Ptr<BaseConvolutionLayer>
impl AlgorithmTrait for Ptr<BaseConvolutionLayer>
source§impl AlgorithmTrait for Ptr<BatchNormLayer>
impl AlgorithmTrait for Ptr<BatchNormLayer>
source§impl AlgorithmTrait for Ptr<BatchNormLayerInt8>
impl AlgorithmTrait for Ptr<BatchNormLayerInt8>
source§impl AlgorithmTrait for Ptr<BlankLayer>
impl AlgorithmTrait for Ptr<BlankLayer>
source§impl AlgorithmTrait for Ptr<CLAHE>
impl AlgorithmTrait for Ptr<CLAHE>
source§impl AlgorithmTrait for Ptr<ChannelsPReLULayer>
impl AlgorithmTrait for Ptr<ChannelsPReLULayer>
source§impl AlgorithmTrait for Ptr<ConcatLayer>
impl AlgorithmTrait for Ptr<ConcatLayer>
source§impl AlgorithmTrait for Ptr<ConjGradSolver>
impl AlgorithmTrait for Ptr<ConjGradSolver>
source§impl AlgorithmTrait for Ptr<ConstLayer>
impl AlgorithmTrait for Ptr<ConstLayer>
source§impl AlgorithmTrait for Ptr<ConvolutionLayer>
impl AlgorithmTrait for Ptr<ConvolutionLayer>
source§impl AlgorithmTrait for Ptr<ConvolutionLayerInt8>
impl AlgorithmTrait for Ptr<ConvolutionLayerInt8>
source§impl AlgorithmTrait for Ptr<CorrelationLayer>
impl AlgorithmTrait for Ptr<CorrelationLayer>
source§impl AlgorithmTrait for Ptr<CropAndResizeLayer>
impl AlgorithmTrait for Ptr<CropAndResizeLayer>
source§impl AlgorithmTrait for Ptr<CropLayer>
impl AlgorithmTrait for Ptr<CropLayer>
source§impl AlgorithmTrait for Ptr<CumSumLayer>
impl AlgorithmTrait for Ptr<CumSumLayer>
source§impl AlgorithmTrait for Ptr<DataAugmentationLayer>
impl AlgorithmTrait for Ptr<DataAugmentationLayer>
source§impl AlgorithmTrait for Ptr<DeconvolutionLayer>
impl AlgorithmTrait for Ptr<DeconvolutionLayer>
source§impl AlgorithmTrait for Ptr<DequantizeLayer>
impl AlgorithmTrait for Ptr<DequantizeLayer>
source§impl AlgorithmTrait for Ptr<DetectionOutputLayer>
impl AlgorithmTrait for Ptr<DetectionOutputLayer>
source§impl AlgorithmTrait for Ptr<DownhillSolver>
impl AlgorithmTrait for Ptr<DownhillSolver>
source§impl AlgorithmTrait for Ptr<ELULayer>
impl AlgorithmTrait for Ptr<ELULayer>
source§impl AlgorithmTrait for Ptr<EltwiseLayer>
impl AlgorithmTrait for Ptr<EltwiseLayer>
source§impl AlgorithmTrait for Ptr<EltwiseLayerInt8>
impl AlgorithmTrait for Ptr<EltwiseLayerInt8>
source§impl AlgorithmTrait for Ptr<ExpLayer>
impl AlgorithmTrait for Ptr<ExpLayer>
source§impl AlgorithmTrait for Ptr<FlattenLayer>
impl AlgorithmTrait for Ptr<FlattenLayer>
source§impl AlgorithmTrait for Ptr<FlowWarpLayer>
impl AlgorithmTrait for Ptr<FlowWarpLayer>
source§impl AlgorithmTrait for Ptr<GRULayer>
impl AlgorithmTrait for Ptr<GRULayer>
source§impl AlgorithmTrait for Ptr<GeneralizedHough>
impl AlgorithmTrait for Ptr<GeneralizedHough>
source§impl AlgorithmTrait for Ptr<GeneralizedHoughBallard>
impl AlgorithmTrait for Ptr<GeneralizedHoughBallard>
source§impl AlgorithmTrait for Ptr<GeneralizedHoughGuil>
impl AlgorithmTrait for Ptr<GeneralizedHoughGuil>
source§impl AlgorithmTrait for Ptr<InnerProductLayer>
impl AlgorithmTrait for Ptr<InnerProductLayer>
source§impl AlgorithmTrait for Ptr<InnerProductLayerInt8>
impl AlgorithmTrait for Ptr<InnerProductLayerInt8>
source§impl AlgorithmTrait for Ptr<InterpLayer>
impl AlgorithmTrait for Ptr<InterpLayer>
source§impl AlgorithmTrait for Ptr<LRNLayer>
impl AlgorithmTrait for Ptr<LRNLayer>
source§impl AlgorithmTrait for Ptr<LSTMLayer>
impl AlgorithmTrait for Ptr<LSTMLayer>
source§impl AlgorithmTrait for Ptr<Layer>
impl AlgorithmTrait for Ptr<Layer>
source§impl AlgorithmTrait for Ptr<LineSegmentDetector>
impl AlgorithmTrait for Ptr<LineSegmentDetector>
source§impl AlgorithmTrait for Ptr<MVNLayer>
impl AlgorithmTrait for Ptr<MVNLayer>
source§impl AlgorithmTrait for Ptr<MaxUnpoolLayer>
impl AlgorithmTrait for Ptr<MaxUnpoolLayer>
source§impl AlgorithmTrait for Ptr<MinProblemSolver>
impl AlgorithmTrait for Ptr<MinProblemSolver>
source§impl AlgorithmTrait for Ptr<MishLayer>
impl AlgorithmTrait for Ptr<MishLayer>
source§impl AlgorithmTrait for Ptr<NormalizeBBoxLayer>
impl AlgorithmTrait for Ptr<NormalizeBBoxLayer>
source§impl AlgorithmTrait for Ptr<PaddingLayer>
impl AlgorithmTrait for Ptr<PaddingLayer>
source§impl AlgorithmTrait for Ptr<PermuteLayer>
impl AlgorithmTrait for Ptr<PermuteLayer>
source§impl AlgorithmTrait for Ptr<PoolingLayer>
impl AlgorithmTrait for Ptr<PoolingLayer>
source§impl AlgorithmTrait for Ptr<PoolingLayerInt8>
impl AlgorithmTrait for Ptr<PoolingLayerInt8>
source§impl AlgorithmTrait for Ptr<PowerLayer>
impl AlgorithmTrait for Ptr<PowerLayer>
source§impl AlgorithmTrait for Ptr<PriorBoxLayer>
impl AlgorithmTrait for Ptr<PriorBoxLayer>
source§impl AlgorithmTrait for Ptr<ProposalLayer>
impl AlgorithmTrait for Ptr<ProposalLayer>
source§impl AlgorithmTrait for Ptr<QuantizeLayer>
impl AlgorithmTrait for Ptr<QuantizeLayer>
source§impl AlgorithmTrait for Ptr<RNNLayer>
impl AlgorithmTrait for Ptr<RNNLayer>
source§impl AlgorithmTrait for Ptr<ReLU6Layer>
impl AlgorithmTrait for Ptr<ReLU6Layer>
source§impl AlgorithmTrait for Ptr<ReLULayer>
impl AlgorithmTrait for Ptr<ReLULayer>
source§impl AlgorithmTrait for Ptr<RegionLayer>
impl AlgorithmTrait for Ptr<RegionLayer>
source§impl AlgorithmTrait for Ptr<ReorgLayer>
impl AlgorithmTrait for Ptr<ReorgLayer>
source§impl AlgorithmTrait for Ptr<RequantizeLayer>
impl AlgorithmTrait for Ptr<RequantizeLayer>
source§impl AlgorithmTrait for Ptr<ReshapeLayer>
impl AlgorithmTrait for Ptr<ReshapeLayer>
source§impl AlgorithmTrait for Ptr<ResizeLayer>
impl AlgorithmTrait for Ptr<ResizeLayer>
source§impl AlgorithmTrait for Ptr<ScaleLayer>
impl AlgorithmTrait for Ptr<ScaleLayer>
source§impl AlgorithmTrait for Ptr<ScaleLayerInt8>
impl AlgorithmTrait for Ptr<ScaleLayerInt8>
source§impl AlgorithmTrait for Ptr<ShiftLayer>
impl AlgorithmTrait for Ptr<ShiftLayer>
source§impl AlgorithmTrait for Ptr<ShiftLayerInt8>
impl AlgorithmTrait for Ptr<ShiftLayerInt8>
source§impl AlgorithmTrait for Ptr<ShuffleChannelLayer>
impl AlgorithmTrait for Ptr<ShuffleChannelLayer>
source§impl AlgorithmTrait for Ptr<SigmoidLayer>
impl AlgorithmTrait for Ptr<SigmoidLayer>
source§impl AlgorithmTrait for Ptr<SliceLayer>
impl AlgorithmTrait for Ptr<SliceLayer>
source§impl AlgorithmTrait for Ptr<SoftmaxLayer>
impl AlgorithmTrait for Ptr<SoftmaxLayer>
source§impl AlgorithmTrait for Ptr<SoftmaxLayerInt8>
impl AlgorithmTrait for Ptr<SoftmaxLayerInt8>
source§impl AlgorithmTrait for Ptr<SplitLayer>
impl AlgorithmTrait for Ptr<SplitLayer>
source§impl AlgorithmTrait for Ptr<SwishLayer>
impl AlgorithmTrait for Ptr<SwishLayer>
source§impl AlgorithmTrait for Ptr<TanHLayer>
impl AlgorithmTrait for Ptr<TanHLayer>
source§impl AlgorithmTraitConst for Ptr<AbsLayer>
impl AlgorithmTraitConst for Ptr<AbsLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<AccumLayer>
impl AlgorithmTraitConst for Ptr<AccumLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ActivationLayer>
impl AlgorithmTraitConst for Ptr<ActivationLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ActivationLayerInt8>
impl AlgorithmTraitConst for Ptr<ActivationLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<Algorithm>
impl AlgorithmTraitConst for Ptr<Algorithm>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<BNLLLayer>
impl AlgorithmTraitConst for Ptr<BNLLLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<BaseConvolutionLayer>
impl AlgorithmTraitConst for Ptr<BaseConvolutionLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<BatchNormLayer>
impl AlgorithmTraitConst for Ptr<BatchNormLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<BatchNormLayerInt8>
impl AlgorithmTraitConst for Ptr<BatchNormLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<BlankLayer>
impl AlgorithmTraitConst for Ptr<BlankLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<CLAHE>
impl AlgorithmTraitConst for Ptr<CLAHE>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ChannelsPReLULayer>
impl AlgorithmTraitConst for Ptr<ChannelsPReLULayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ConcatLayer>
impl AlgorithmTraitConst for Ptr<ConcatLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ConjGradSolver>
impl AlgorithmTraitConst for Ptr<ConjGradSolver>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ConstLayer>
impl AlgorithmTraitConst for Ptr<ConstLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ConvolutionLayer>
impl AlgorithmTraitConst for Ptr<ConvolutionLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ConvolutionLayerInt8>
impl AlgorithmTraitConst for Ptr<ConvolutionLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<CorrelationLayer>
impl AlgorithmTraitConst for Ptr<CorrelationLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<CropAndResizeLayer>
impl AlgorithmTraitConst for Ptr<CropAndResizeLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<CropLayer>
impl AlgorithmTraitConst for Ptr<CropLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<CumSumLayer>
impl AlgorithmTraitConst for Ptr<CumSumLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<DataAugmentationLayer>
impl AlgorithmTraitConst for Ptr<DataAugmentationLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<DeconvolutionLayer>
impl AlgorithmTraitConst for Ptr<DeconvolutionLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<DequantizeLayer>
impl AlgorithmTraitConst for Ptr<DequantizeLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<DetectionOutputLayer>
impl AlgorithmTraitConst for Ptr<DetectionOutputLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<DownhillSolver>
impl AlgorithmTraitConst for Ptr<DownhillSolver>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ELULayer>
impl AlgorithmTraitConst for Ptr<ELULayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<EltwiseLayer>
impl AlgorithmTraitConst for Ptr<EltwiseLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<EltwiseLayerInt8>
impl AlgorithmTraitConst for Ptr<EltwiseLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ExpLayer>
impl AlgorithmTraitConst for Ptr<ExpLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<FlattenLayer>
impl AlgorithmTraitConst for Ptr<FlattenLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<FlowWarpLayer>
impl AlgorithmTraitConst for Ptr<FlowWarpLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<GRULayer>
impl AlgorithmTraitConst for Ptr<GRULayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<GeneralizedHough>
impl AlgorithmTraitConst for Ptr<GeneralizedHough>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<GeneralizedHoughBallard>
impl AlgorithmTraitConst for Ptr<GeneralizedHoughBallard>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<GeneralizedHoughGuil>
impl AlgorithmTraitConst for Ptr<GeneralizedHoughGuil>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<InnerProductLayer>
impl AlgorithmTraitConst for Ptr<InnerProductLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<InnerProductLayerInt8>
impl AlgorithmTraitConst for Ptr<InnerProductLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<InterpLayer>
impl AlgorithmTraitConst for Ptr<InterpLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<LRNLayer>
impl AlgorithmTraitConst for Ptr<LRNLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<LSTMLayer>
impl AlgorithmTraitConst for Ptr<LSTMLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<Layer>
impl AlgorithmTraitConst for Ptr<Layer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<LineSegmentDetector>
impl AlgorithmTraitConst for Ptr<LineSegmentDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<MVNLayer>
impl AlgorithmTraitConst for Ptr<MVNLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<MaxUnpoolLayer>
impl AlgorithmTraitConst for Ptr<MaxUnpoolLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<MinProblemSolver>
impl AlgorithmTraitConst for Ptr<MinProblemSolver>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<MishLayer>
impl AlgorithmTraitConst for Ptr<MishLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<NormalizeBBoxLayer>
impl AlgorithmTraitConst for Ptr<NormalizeBBoxLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<PaddingLayer>
impl AlgorithmTraitConst for Ptr<PaddingLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<PermuteLayer>
impl AlgorithmTraitConst for Ptr<PermuteLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<PoolingLayer>
impl AlgorithmTraitConst for Ptr<PoolingLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<PoolingLayerInt8>
impl AlgorithmTraitConst for Ptr<PoolingLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<PowerLayer>
impl AlgorithmTraitConst for Ptr<PowerLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<PriorBoxLayer>
impl AlgorithmTraitConst for Ptr<PriorBoxLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ProposalLayer>
impl AlgorithmTraitConst for Ptr<ProposalLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<QuantizeLayer>
impl AlgorithmTraitConst for Ptr<QuantizeLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<RNNLayer>
impl AlgorithmTraitConst for Ptr<RNNLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ReLU6Layer>
impl AlgorithmTraitConst for Ptr<ReLU6Layer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ReLULayer>
impl AlgorithmTraitConst for Ptr<ReLULayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<RegionLayer>
impl AlgorithmTraitConst for Ptr<RegionLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ReorgLayer>
impl AlgorithmTraitConst for Ptr<ReorgLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<RequantizeLayer>
impl AlgorithmTraitConst for Ptr<RequantizeLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ReshapeLayer>
impl AlgorithmTraitConst for Ptr<ReshapeLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ResizeLayer>
impl AlgorithmTraitConst for Ptr<ResizeLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ScaleLayer>
impl AlgorithmTraitConst for Ptr<ScaleLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ScaleLayerInt8>
impl AlgorithmTraitConst for Ptr<ScaleLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ShiftLayer>
impl AlgorithmTraitConst for Ptr<ShiftLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ShiftLayerInt8>
impl AlgorithmTraitConst for Ptr<ShiftLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<ShuffleChannelLayer>
impl AlgorithmTraitConst for Ptr<ShuffleChannelLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<SigmoidLayer>
impl AlgorithmTraitConst for Ptr<SigmoidLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<SliceLayer>
impl AlgorithmTraitConst for Ptr<SliceLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<SoftmaxLayer>
impl AlgorithmTraitConst for Ptr<SoftmaxLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<SoftmaxLayerInt8>
impl AlgorithmTraitConst for Ptr<SoftmaxLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<SplitLayer>
impl AlgorithmTraitConst for Ptr<SplitLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<SwishLayer>
impl AlgorithmTraitConst for Ptr<SwishLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTraitConst for Ptr<TanHLayer>
impl AlgorithmTraitConst for Ptr<TanHLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
source§impl BNLLLayerTrait for Ptr<BNLLLayer>
impl BNLLLayerTrait for Ptr<BNLLLayer>
fn as_raw_mut_BNLLLayer(&mut self) -> *mut c_void
source§impl BNLLLayerTraitConst for Ptr<BNLLLayer>
impl BNLLLayerTraitConst for Ptr<BNLLLayer>
fn as_raw_BNLLLayer(&self) -> *const c_void
source§impl BackendNodeTrait for Ptr<BackendNode>
impl BackendNodeTrait for Ptr<BackendNode>
fn as_raw_mut_BackendNode(&mut self) -> *mut c_void
source§fn set_backend_id(&mut self, val: i32)
fn set_backend_id(&mut self, val: i32)
source§impl BackendNodeTraitConst for Ptr<BackendNode>
impl BackendNodeTraitConst for Ptr<BackendNode>
fn as_raw_BackendNode(&self) -> *const c_void
source§fn backend_id(&self) -> i32
fn backend_id(&self) -> i32
source§impl BackendWrapperTrait for Ptr<BackendWrapper>
impl BackendWrapperTrait for Ptr<BackendWrapper>
fn as_raw_mut_BackendWrapper(&mut self) -> *mut c_void
source§fn set_backend_id(&mut self, val: i32)
fn set_backend_id(&mut self, val: i32)
source§fn set_target_id(&mut self, val: i32)
fn set_target_id(&mut self, val: i32)
source§fn copy_to_host(&mut self) -> Result<()>
fn copy_to_host(&mut self) -> Result<()>
source§fn set_host_dirty(&mut self) -> Result<()>
fn set_host_dirty(&mut self) -> Result<()>
source§impl BackendWrapperTraitConst for Ptr<BackendWrapper>
impl BackendWrapperTraitConst for Ptr<BackendWrapper>
source§impl BaseConvolutionLayerTrait for Ptr<BaseConvolutionLayer>
impl BaseConvolutionLayerTrait for Ptr<BaseConvolutionLayer>
fn as_raw_mut_BaseConvolutionLayer(&mut self) -> *mut c_void
fn set_kernel(&mut self, val: Size)
fn set_stride(&mut self, val: Size)
fn set_pad(&mut self, val: Size)
fn set_dilation(&mut self, val: Size)
fn set_adjust_pad(&mut self, val: Size)
fn set_adjust_pads(&mut self, val: Vector<size_t>)
fn set_kernel_size(&mut self, val: Vector<size_t>)
fn set_strides(&mut self, val: Vector<size_t>)
fn set_dilations(&mut self, val: Vector<size_t>)
fn set_pads_begin(&mut self, val: Vector<size_t>)
fn set_pads_end(&mut self, val: Vector<size_t>)
fn set_pad_mode(&mut self, val: &str)
fn set_num_output(&mut self, val: i32)
source§impl BaseConvolutionLayerTrait for Ptr<ConvolutionLayer>
impl BaseConvolutionLayerTrait for Ptr<ConvolutionLayer>
fn as_raw_mut_BaseConvolutionLayer(&mut self) -> *mut c_void
fn set_kernel(&mut self, val: Size)
fn set_stride(&mut self, val: Size)
fn set_pad(&mut self, val: Size)
fn set_dilation(&mut self, val: Size)
fn set_adjust_pad(&mut self, val: Size)
fn set_adjust_pads(&mut self, val: Vector<size_t>)
fn set_kernel_size(&mut self, val: Vector<size_t>)
fn set_strides(&mut self, val: Vector<size_t>)
fn set_dilations(&mut self, val: Vector<size_t>)
fn set_pads_begin(&mut self, val: Vector<size_t>)
fn set_pads_end(&mut self, val: Vector<size_t>)
fn set_pad_mode(&mut self, val: &str)
fn set_num_output(&mut self, val: i32)
source§impl BaseConvolutionLayerTrait for Ptr<ConvolutionLayerInt8>
impl BaseConvolutionLayerTrait for Ptr<ConvolutionLayerInt8>
fn as_raw_mut_BaseConvolutionLayer(&mut self) -> *mut c_void
fn set_kernel(&mut self, val: Size)
fn set_stride(&mut self, val: Size)
fn set_pad(&mut self, val: Size)
fn set_dilation(&mut self, val: Size)
fn set_adjust_pad(&mut self, val: Size)
fn set_adjust_pads(&mut self, val: Vector<size_t>)
fn set_kernel_size(&mut self, val: Vector<size_t>)
fn set_strides(&mut self, val: Vector<size_t>)
fn set_dilations(&mut self, val: Vector<size_t>)
fn set_pads_begin(&mut self, val: Vector<size_t>)
fn set_pads_end(&mut self, val: Vector<size_t>)
fn set_pad_mode(&mut self, val: &str)
fn set_num_output(&mut self, val: i32)
source§impl BaseConvolutionLayerTrait for Ptr<DeconvolutionLayer>
impl BaseConvolutionLayerTrait for Ptr<DeconvolutionLayer>
fn as_raw_mut_BaseConvolutionLayer(&mut self) -> *mut c_void
fn set_kernel(&mut self, val: Size)
fn set_stride(&mut self, val: Size)
fn set_pad(&mut self, val: Size)
fn set_dilation(&mut self, val: Size)
fn set_adjust_pad(&mut self, val: Size)
fn set_adjust_pads(&mut self, val: Vector<size_t>)
fn set_kernel_size(&mut self, val: Vector<size_t>)
fn set_strides(&mut self, val: Vector<size_t>)
fn set_dilations(&mut self, val: Vector<size_t>)
fn set_pads_begin(&mut self, val: Vector<size_t>)
fn set_pads_end(&mut self, val: Vector<size_t>)
fn set_pad_mode(&mut self, val: &str)
fn set_num_output(&mut self, val: i32)
source§impl BaseConvolutionLayerTraitConst for Ptr<BaseConvolutionLayer>
impl BaseConvolutionLayerTraitConst for Ptr<BaseConvolutionLayer>
fn as_raw_BaseConvolutionLayer(&self) -> *const c_void
fn kernel(&self) -> Size
fn stride(&self) -> Size
fn pad(&self) -> Size
fn dilation(&self) -> Size
fn adjust_pad(&self) -> Size
fn adjust_pads(&self) -> Vector<size_t>
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn dilations(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
fn pad_mode(&self) -> String
fn num_output(&self) -> i32
source§impl BaseConvolutionLayerTraitConst for Ptr<ConvolutionLayer>
impl BaseConvolutionLayerTraitConst for Ptr<ConvolutionLayer>
fn as_raw_BaseConvolutionLayer(&self) -> *const c_void
fn kernel(&self) -> Size
fn stride(&self) -> Size
fn pad(&self) -> Size
fn dilation(&self) -> Size
fn adjust_pad(&self) -> Size
fn adjust_pads(&self) -> Vector<size_t>
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn dilations(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
fn pad_mode(&self) -> String
fn num_output(&self) -> i32
source§impl BaseConvolutionLayerTraitConst for Ptr<ConvolutionLayerInt8>
impl BaseConvolutionLayerTraitConst for Ptr<ConvolutionLayerInt8>
fn as_raw_BaseConvolutionLayer(&self) -> *const c_void
fn kernel(&self) -> Size
fn stride(&self) -> Size
fn pad(&self) -> Size
fn dilation(&self) -> Size
fn adjust_pad(&self) -> Size
fn adjust_pads(&self) -> Vector<size_t>
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn dilations(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
fn pad_mode(&self) -> String
fn num_output(&self) -> i32
source§impl BaseConvolutionLayerTraitConst for Ptr<DeconvolutionLayer>
impl BaseConvolutionLayerTraitConst for Ptr<DeconvolutionLayer>
fn as_raw_BaseConvolutionLayer(&self) -> *const c_void
fn kernel(&self) -> Size
fn stride(&self) -> Size
fn pad(&self) -> Size
fn dilation(&self) -> Size
fn adjust_pad(&self) -> Size
fn adjust_pads(&self) -> Vector<size_t>
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn dilations(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
fn pad_mode(&self) -> String
fn num_output(&self) -> i32
source§impl BatchNormLayerInt8Trait for Ptr<BatchNormLayerInt8>
impl BatchNormLayerInt8Trait for Ptr<BatchNormLayerInt8>
fn as_raw_mut_BatchNormLayerInt8(&mut self) -> *mut c_void
fn set_input_sc(&mut self, val: f32)
fn set_output_sc(&mut self, val: f32)
fn set_input_zp(&mut self, val: i32)
fn set_output_zp(&mut self, val: i32)
source§impl BatchNormLayerTrait for Ptr<BatchNormLayer>
impl BatchNormLayerTrait for Ptr<BatchNormLayer>
fn as_raw_mut_BatchNormLayer(&mut self) -> *mut c_void
fn set_has_weights(&mut self, val: bool)
fn set_has_bias(&mut self, val: bool)
fn set_epsilon(&mut self, val: f32)
source§impl BatchNormLayerTrait for Ptr<BatchNormLayerInt8>
impl BatchNormLayerTrait for Ptr<BatchNormLayerInt8>
fn as_raw_mut_BatchNormLayer(&mut self) -> *mut c_void
fn set_has_weights(&mut self, val: bool)
fn set_has_bias(&mut self, val: bool)
fn set_epsilon(&mut self, val: f32)
source§impl BatchNormLayerTraitConst for Ptr<BatchNormLayer>
impl BatchNormLayerTraitConst for Ptr<BatchNormLayer>
source§impl BlankLayerTrait for Ptr<BlankLayer>
impl BlankLayerTrait for Ptr<BlankLayer>
fn as_raw_mut_BlankLayer(&mut self) -> *mut c_void
source§impl BlankLayerTraitConst for Ptr<BlankLayer>
impl BlankLayerTraitConst for Ptr<BlankLayer>
fn as_raw_BlankLayer(&self) -> *const c_void
source§impl<T: ?Sized> Boxed for Ptr<T>where
Self: PtrExtern,
impl<T: ?Sized> Boxed for Ptr<T>where
Self: PtrExtern,
source§impl CLAHETrait for Ptr<CLAHE>
impl CLAHETrait for Ptr<CLAHE>
fn as_raw_mut_CLAHE(&mut self) -> *mut c_void
source§fn apply(
&mut self,
src: &impl ToInputArray,
dst: &mut impl ToOutputArray
) -> Result<()>
fn apply( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>
source§fn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>
fn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>
source§fn set_tiles_grid_size(&mut self, tile_grid_size: Size) -> Result<()>
fn set_tiles_grid_size(&mut self, tile_grid_size: Size) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
source§impl CLAHETraitConst for Ptr<CLAHE>
impl CLAHETraitConst for Ptr<CLAHE>
fn as_raw_CLAHE(&self) -> *const c_void
source§fn get_clip_limit(&self) -> Result<f64>
fn get_clip_limit(&self) -> Result<f64>
source§fn get_tiles_grid_size(&self) -> Result<Size>
fn get_tiles_grid_size(&self) -> Result<Size>
source§impl ChannelsPReLULayerTrait for Ptr<ChannelsPReLULayer>
impl ChannelsPReLULayerTrait for Ptr<ChannelsPReLULayer>
fn as_raw_mut_ChannelsPReLULayer(&mut self) -> *mut c_void
source§impl ChannelsPReLULayerTraitConst for Ptr<ChannelsPReLULayer>
impl ChannelsPReLULayerTraitConst for Ptr<ChannelsPReLULayer>
fn as_raw_ChannelsPReLULayer(&self) -> *const c_void
source§impl ConcatLayerTrait for Ptr<ConcatLayer>
impl ConcatLayerTrait for Ptr<ConcatLayer>
source§impl ConcatLayerTraitConst for Ptr<ConcatLayer>
impl ConcatLayerTraitConst for Ptr<ConcatLayer>
source§impl ConjGradSolverTrait for Ptr<ConjGradSolver>
impl ConjGradSolverTrait for Ptr<ConjGradSolver>
fn as_raw_mut_ConjGradSolver(&mut self) -> *mut c_void
source§impl ConjGradSolverTraitConst for Ptr<ConjGradSolver>
impl ConjGradSolverTraitConst for Ptr<ConjGradSolver>
fn as_raw_ConjGradSolver(&self) -> *const c_void
source§impl ConstLayerTrait for Ptr<ConstLayer>
impl ConstLayerTrait for Ptr<ConstLayer>
fn as_raw_mut_ConstLayer(&mut self) -> *mut c_void
source§impl ConstLayerTraitConst for Ptr<ConstLayer>
impl ConstLayerTraitConst for Ptr<ConstLayer>
fn as_raw_ConstLayer(&self) -> *const c_void
source§impl ConvolutionLayerInt8Trait for Ptr<ConvolutionLayerInt8>
impl ConvolutionLayerInt8Trait for Ptr<ConvolutionLayerInt8>
fn as_raw_mut_ConvolutionLayerInt8(&mut self) -> *mut c_void
fn set_input_zp(&mut self, val: i32)
fn set_output_zp(&mut self, val: i32)
fn set_output_sc(&mut self, val: f32)
source§impl ConvolutionLayerTrait for Ptr<ConvolutionLayer>
impl ConvolutionLayerTrait for Ptr<ConvolutionLayer>
fn as_raw_mut_ConvolutionLayer(&mut self) -> *mut c_void
source§impl ConvolutionLayerTraitConst for Ptr<ConvolutionLayer>
impl ConvolutionLayerTraitConst for Ptr<ConvolutionLayer>
fn as_raw_ConvolutionLayer(&self) -> *const c_void
source§impl CorrelationLayerTrait for Ptr<CorrelationLayer>
impl CorrelationLayerTrait for Ptr<CorrelationLayer>
fn as_raw_mut_CorrelationLayer(&mut self) -> *mut c_void
source§impl CorrelationLayerTraitConst for Ptr<CorrelationLayer>
impl CorrelationLayerTraitConst for Ptr<CorrelationLayer>
fn as_raw_CorrelationLayer(&self) -> *const c_void
source§impl CropAndResizeLayerTrait for Ptr<CropAndResizeLayer>
impl CropAndResizeLayerTrait for Ptr<CropAndResizeLayer>
fn as_raw_mut_CropAndResizeLayer(&mut self) -> *mut c_void
source§impl CropAndResizeLayerTraitConst for Ptr<CropAndResizeLayer>
impl CropAndResizeLayerTraitConst for Ptr<CropAndResizeLayer>
fn as_raw_CropAndResizeLayer(&self) -> *const c_void
source§impl CropLayerTrait for Ptr<CropLayer>
impl CropLayerTrait for Ptr<CropLayer>
fn as_raw_mut_CropLayer(&mut self) -> *mut c_void
source§impl CropLayerTraitConst for Ptr<CropLayer>
impl CropLayerTraitConst for Ptr<CropLayer>
fn as_raw_CropLayer(&self) -> *const c_void
source§impl CumSumLayerTrait for Ptr<CumSumLayer>
impl CumSumLayerTrait for Ptr<CumSumLayer>
fn as_raw_mut_CumSumLayer(&mut self) -> *mut c_void
fn set_exclusive(&mut self, val: i32)
fn set_reverse(&mut self, val: i32)
source§impl CumSumLayerTraitConst for Ptr<CumSumLayer>
impl CumSumLayerTraitConst for Ptr<CumSumLayer>
source§impl DataAugmentationLayerTrait for Ptr<DataAugmentationLayer>
impl DataAugmentationLayerTrait for Ptr<DataAugmentationLayer>
fn as_raw_mut_DataAugmentationLayer(&mut self) -> *mut c_void
source§impl DataAugmentationLayerTraitConst for Ptr<DataAugmentationLayer>
impl DataAugmentationLayerTraitConst for Ptr<DataAugmentationLayer>
fn as_raw_DataAugmentationLayer(&self) -> *const c_void
source§impl Debug for Ptr<AccumLayer>
impl Debug for Ptr<AccumLayer>
source§impl Debug for Ptr<ActivationLayer>
impl Debug for Ptr<ActivationLayer>
source§impl Debug for Ptr<ActivationLayerInt8>
impl Debug for Ptr<ActivationLayerInt8>
source§impl Debug for Ptr<BackendNode>
impl Debug for Ptr<BackendNode>
source§impl Debug for Ptr<BackendWrapper>
impl Debug for Ptr<BackendWrapper>
source§impl Debug for Ptr<BaseConvolutionLayer>
impl Debug for Ptr<BaseConvolutionLayer>
source§impl Debug for Ptr<BatchNormLayer>
impl Debug for Ptr<BatchNormLayer>
source§impl Debug for Ptr<BatchNormLayerInt8>
impl Debug for Ptr<BatchNormLayerInt8>
source§impl Debug for Ptr<BlankLayer>
impl Debug for Ptr<BlankLayer>
source§impl Debug for Ptr<ChannelsPReLULayer>
impl Debug for Ptr<ChannelsPReLULayer>
source§impl Debug for Ptr<ConcatLayer>
impl Debug for Ptr<ConcatLayer>
source§impl Debug for Ptr<ConjGradSolver>
impl Debug for Ptr<ConjGradSolver>
source§impl Debug for Ptr<ConstLayer>
impl Debug for Ptr<ConstLayer>
source§impl Debug for Ptr<ConvolutionLayer>
impl Debug for Ptr<ConvolutionLayer>
source§impl Debug for Ptr<ConvolutionLayerInt8>
impl Debug for Ptr<ConvolutionLayerInt8>
source§impl Debug for Ptr<CorrelationLayer>
impl Debug for Ptr<CorrelationLayer>
source§impl Debug for Ptr<CropAndResizeLayer>
impl Debug for Ptr<CropAndResizeLayer>
source§impl Debug for Ptr<CumSumLayer>
impl Debug for Ptr<CumSumLayer>
source§impl Debug for Ptr<DataAugmentationLayer>
impl Debug for Ptr<DataAugmentationLayer>
source§impl Debug for Ptr<DeconvolutionLayer>
impl Debug for Ptr<DeconvolutionLayer>
source§impl Debug for Ptr<DequantizeLayer>
impl Debug for Ptr<DequantizeLayer>
source§impl Debug for Ptr<DetectionOutputLayer>
impl Debug for Ptr<DetectionOutputLayer>
source§impl Debug for Ptr<DownhillSolver>
impl Debug for Ptr<DownhillSolver>
source§impl Debug for Ptr<EltwiseLayer>
impl Debug for Ptr<EltwiseLayer>
source§impl Debug for Ptr<EltwiseLayerInt8>
impl Debug for Ptr<EltwiseLayerInt8>
source§impl Debug for Ptr<FileStorage>
impl Debug for Ptr<FileStorage>
source§impl Debug for Ptr<FlattenLayer>
impl Debug for Ptr<FlattenLayer>
source§impl Debug for Ptr<FlowWarpLayer>
impl Debug for Ptr<FlowWarpLayer>
source§impl Debug for Ptr<GeneralizedHough>
impl Debug for Ptr<GeneralizedHough>
source§impl Debug for Ptr<GeneralizedHoughBallard>
impl Debug for Ptr<GeneralizedHoughBallard>
source§impl Debug for Ptr<GeneralizedHoughGuil>
impl Debug for Ptr<GeneralizedHoughGuil>
source§impl Debug for Ptr<GpuMat_Allocator>
impl Debug for Ptr<GpuMat_Allocator>
source§impl Debug for Ptr<InnerProductLayer>
impl Debug for Ptr<InnerProductLayer>
source§impl Debug for Ptr<InnerProductLayerInt8>
impl Debug for Ptr<InnerProductLayerInt8>
source§impl Debug for Ptr<InterpLayer>
impl Debug for Ptr<InterpLayer>
source§impl Debug for Ptr<LineSegmentDetector>
impl Debug for Ptr<LineSegmentDetector>
source§impl Debug for Ptr<MaxUnpoolLayer>
impl Debug for Ptr<MaxUnpoolLayer>
source§impl Debug for Ptr<MinProblemSolver>
impl Debug for Ptr<MinProblemSolver>
source§impl Debug for Ptr<MinProblemSolver_Function>
impl Debug for Ptr<MinProblemSolver_Function>
source§impl Debug for Ptr<NormalizeBBoxLayer>
impl Debug for Ptr<NormalizeBBoxLayer>
source§impl Debug for Ptr<PaddingLayer>
impl Debug for Ptr<PaddingLayer>
source§impl Debug for Ptr<PermuteLayer>
impl Debug for Ptr<PermuteLayer>
source§impl Debug for Ptr<PoolingLayer>
impl Debug for Ptr<PoolingLayer>
source§impl Debug for Ptr<PoolingLayerInt8>
impl Debug for Ptr<PoolingLayerInt8>
source§impl Debug for Ptr<PowerLayer>
impl Debug for Ptr<PowerLayer>
source§impl Debug for Ptr<PriorBoxLayer>
impl Debug for Ptr<PriorBoxLayer>
source§impl Debug for Ptr<ProposalLayer>
impl Debug for Ptr<ProposalLayer>
source§impl Debug for Ptr<QuantizeLayer>
impl Debug for Ptr<QuantizeLayer>
source§impl Debug for Ptr<ReLU6Layer>
impl Debug for Ptr<ReLU6Layer>
source§impl Debug for Ptr<RegionLayer>
impl Debug for Ptr<RegionLayer>
source§impl Debug for Ptr<ReorgLayer>
impl Debug for Ptr<ReorgLayer>
source§impl Debug for Ptr<RequantizeLayer>
impl Debug for Ptr<RequantizeLayer>
source§impl Debug for Ptr<ReshapeLayer>
impl Debug for Ptr<ReshapeLayer>
source§impl Debug for Ptr<ResizeLayer>
impl Debug for Ptr<ResizeLayer>
source§impl Debug for Ptr<ScaleLayer>
impl Debug for Ptr<ScaleLayer>
source§impl Debug for Ptr<ScaleLayerInt8>
impl Debug for Ptr<ScaleLayerInt8>
source§impl Debug for Ptr<ShiftLayer>
impl Debug for Ptr<ShiftLayer>
source§impl Debug for Ptr<ShiftLayerInt8>
impl Debug for Ptr<ShiftLayerInt8>
source§impl Debug for Ptr<ShuffleChannelLayer>
impl Debug for Ptr<ShuffleChannelLayer>
source§impl Debug for Ptr<SigmoidLayer>
impl Debug for Ptr<SigmoidLayer>
source§impl Debug for Ptr<SliceLayer>
impl Debug for Ptr<SliceLayer>
source§impl Debug for Ptr<SoftmaxLayer>
impl Debug for Ptr<SoftmaxLayer>
source§impl Debug for Ptr<SoftmaxLayerInt8>
impl Debug for Ptr<SoftmaxLayerInt8>
source§impl Debug for Ptr<SplitLayer>
impl Debug for Ptr<SplitLayer>
source§impl Debug for Ptr<SwishLayer>
impl Debug for Ptr<SwishLayer>
source§impl DeconvolutionLayerTrait for Ptr<DeconvolutionLayer>
impl DeconvolutionLayerTrait for Ptr<DeconvolutionLayer>
fn as_raw_mut_DeconvolutionLayer(&mut self) -> *mut c_void
source§impl DeconvolutionLayerTraitConst for Ptr<DeconvolutionLayer>
impl DeconvolutionLayerTraitConst for Ptr<DeconvolutionLayer>
fn as_raw_DeconvolutionLayer(&self) -> *const c_void
source§impl DequantizeLayerTrait for Ptr<DequantizeLayer>
impl DequantizeLayerTrait for Ptr<DequantizeLayer>
source§impl DetectionOutputLayerTrait for Ptr<DetectionOutputLayer>
impl DetectionOutputLayerTrait for Ptr<DetectionOutputLayer>
fn as_raw_mut_DetectionOutputLayer(&mut self) -> *mut c_void
source§impl DetectionOutputLayerTraitConst for Ptr<DetectionOutputLayer>
impl DetectionOutputLayerTraitConst for Ptr<DetectionOutputLayer>
fn as_raw_DetectionOutputLayer(&self) -> *const c_void
source§impl DownhillSolverTrait for Ptr<DownhillSolver>
impl DownhillSolverTrait for Ptr<DownhillSolver>
fn as_raw_mut_DownhillSolver(&mut self) -> *mut c_void
source§fn set_init_step(&mut self, step: &impl ToInputArray) -> Result<()>
fn set_init_step(&mut self, step: &impl ToInputArray) -> Result<()>
source§impl DownhillSolverTraitConst for Ptr<DownhillSolver>
impl DownhillSolverTraitConst for Ptr<DownhillSolver>
fn as_raw_DownhillSolver(&self) -> *const c_void
source§fn get_init_step(&self, step: &mut impl ToOutputArray) -> Result<()>
fn get_init_step(&self, step: &mut impl ToOutputArray) -> Result<()>
source§impl ELULayerTrait for Ptr<ELULayer>
impl ELULayerTrait for Ptr<ELULayer>
fn as_raw_mut_ELULayer(&mut self) -> *mut c_void
source§impl ELULayerTraitConst for Ptr<ELULayer>
impl ELULayerTraitConst for Ptr<ELULayer>
fn as_raw_ELULayer(&self) -> *const c_void
source§impl EltwiseLayerInt8Trait for Ptr<EltwiseLayerInt8>
impl EltwiseLayerInt8Trait for Ptr<EltwiseLayerInt8>
fn as_raw_mut_EltwiseLayerInt8(&mut self) -> *mut c_void
source§impl EltwiseLayerInt8TraitConst for Ptr<EltwiseLayerInt8>
impl EltwiseLayerInt8TraitConst for Ptr<EltwiseLayerInt8>
fn as_raw_EltwiseLayerInt8(&self) -> *const c_void
source§impl EltwiseLayerTrait for Ptr<EltwiseLayer>
impl EltwiseLayerTrait for Ptr<EltwiseLayer>
fn as_raw_mut_EltwiseLayer(&mut self) -> *mut c_void
source§impl EltwiseLayerTraitConst for Ptr<EltwiseLayer>
impl EltwiseLayerTraitConst for Ptr<EltwiseLayer>
fn as_raw_EltwiseLayer(&self) -> *const c_void
source§impl ExpLayerTrait for Ptr<ExpLayer>
impl ExpLayerTrait for Ptr<ExpLayer>
source§impl ExpLayerTraitConst for Ptr<ExpLayer>
impl ExpLayerTraitConst for Ptr<ExpLayer>
source§impl FileStorageTrait for Ptr<FileStorage>
impl FileStorageTrait for Ptr<FileStorage>
fn as_raw_mut_FileStorage(&mut self) -> *mut c_void
fn set_state(&mut self, val: i32)
fn set_elname(&mut self, val: &str)
source§fn open(&mut self, filename: &str, flags: i32, encoding: &str) -> Result<bool>
fn open(&mut self, filename: &str, flags: i32, encoding: &str) -> Result<bool>
source§fn release(&mut self) -> Result<()>
fn release(&mut self) -> Result<()>
source§fn release_and_get_string(&mut self) -> Result<String>
fn release_and_get_string(&mut self) -> Result<String>
source§fn write_i32(&mut self, name: &str, val: i32) -> Result<()>
fn write_i32(&mut self, name: &str, val: i32) -> Result<()>
source§fn write_f64(&mut self, name: &str, val: f64) -> Result<()>
fn write_f64(&mut self, name: &str, val: f64) -> Result<()>
source§fn write_str(&mut self, name: &str, val: &str) -> Result<()>
fn write_str(&mut self, name: &str, val: &str) -> Result<()>
source§fn write_mat(&mut self, name: &str, val: &Mat) -> Result<()>
fn write_mat(&mut self, name: &str, val: &Mat) -> Result<()>
source§fn write_str_vec(&mut self, name: &str, val: &Vector<String>) -> Result<()>
fn write_str_vec(&mut self, name: &str, val: &Vector<String>) -> Result<()>
source§unsafe fn write_raw(
&mut self,
fmt: &str,
vec: *const c_void,
len: size_t
) -> Result<()>
unsafe fn write_raw( &mut self, fmt: &str, vec: *const c_void, len: size_t ) -> Result<()>
source§fn write_comment(&mut self, comment: &str, append: bool) -> Result<()>
fn write_comment(&mut self, comment: &str, append: bool) -> Result<()>
source§fn start_write_struct(
&mut self,
name: &str,
flags: i32,
type_name: &str
) -> Result<()>
fn start_write_struct( &mut self, name: &str, flags: i32, type_name: &str ) -> Result<()>
source§fn start_write_struct_def(&mut self, name: &str, flags: i32) -> Result<()>
fn start_write_struct_def(&mut self, name: &str, flags: i32) -> Result<()>
source§fn end_write_struct(&mut self) -> Result<()>
fn end_write_struct(&mut self) -> Result<()>
source§impl FileStorageTraitConst for Ptr<FileStorage>
impl FileStorageTraitConst for Ptr<FileStorage>
fn as_raw_FileStorage(&self) -> *const c_void
fn state(&self) -> i32
fn elname(&self) -> String
source§fn get_first_top_level_node(&self) -> Result<FileNode>
fn get_first_top_level_node(&self) -> Result<FileNode>
source§fn get(&self, nodename: &str) -> Result<FileNode>
fn get(&self, nodename: &str) -> Result<FileNode>
source§impl FlattenLayerTrait for Ptr<FlattenLayer>
impl FlattenLayerTrait for Ptr<FlattenLayer>
fn as_raw_mut_FlattenLayer(&mut self) -> *mut c_void
source§impl FlattenLayerTraitConst for Ptr<FlattenLayer>
impl FlattenLayerTraitConst for Ptr<FlattenLayer>
fn as_raw_FlattenLayer(&self) -> *const c_void
source§impl FlowWarpLayerTrait for Ptr<FlowWarpLayer>
impl FlowWarpLayerTrait for Ptr<FlowWarpLayer>
fn as_raw_mut_FlowWarpLayer(&mut self) -> *mut c_void
source§impl FlowWarpLayerTraitConst for Ptr<FlowWarpLayer>
impl FlowWarpLayerTraitConst for Ptr<FlowWarpLayer>
fn as_raw_FlowWarpLayer(&self) -> *const c_void
source§impl FormattedTrait for Ptr<Formatted>
impl FormattedTrait for Ptr<Formatted>
source§impl FormattedTraitConst for Ptr<Formatted>
impl FormattedTraitConst for Ptr<Formatted>
fn as_raw_Formatted(&self) -> *const c_void
source§impl FormatterTrait for Ptr<Formatter>
impl FormatterTrait for Ptr<Formatter>
fn as_raw_mut_Formatter(&mut self) -> *mut c_void
source§impl FormatterTraitConst for Ptr<Formatter>
impl FormatterTraitConst for Ptr<Formatter>
source§impl From<Ptr<AbsLayer>> for Ptr<ActivationLayer>
impl From<Ptr<AbsLayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfAbsLayer) -> Self
fn from(s: PtrOfAbsLayer) -> Self
source§impl From<Ptr<AbsLayer>> for Ptr<Algorithm>
impl From<Ptr<AbsLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfAbsLayer) -> Self
fn from(s: PtrOfAbsLayer) -> Self
source§impl From<Ptr<AbsLayer>> for Ptr<Layer>
impl From<Ptr<AbsLayer>> for Ptr<Layer>
source§fn from(s: PtrOfAbsLayer) -> Self
fn from(s: PtrOfAbsLayer) -> Self
source§impl From<Ptr<AccumLayer>> for Ptr<Algorithm>
impl From<Ptr<AccumLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfAccumLayer) -> Self
fn from(s: PtrOfAccumLayer) -> Self
source§impl From<Ptr<AccumLayer>> for Ptr<Layer>
impl From<Ptr<AccumLayer>> for Ptr<Layer>
source§fn from(s: PtrOfAccumLayer) -> Self
fn from(s: PtrOfAccumLayer) -> Self
source§impl From<Ptr<ActivationLayer>> for Ptr<Algorithm>
impl From<Ptr<ActivationLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfActivationLayer) -> Self
fn from(s: PtrOfActivationLayer) -> Self
source§impl From<Ptr<ActivationLayer>> for Ptr<Layer>
impl From<Ptr<ActivationLayer>> for Ptr<Layer>
source§fn from(s: PtrOfActivationLayer) -> Self
fn from(s: PtrOfActivationLayer) -> Self
source§impl From<Ptr<ActivationLayerInt8>> for Ptr<ActivationLayer>
impl From<Ptr<ActivationLayerInt8>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfActivationLayerInt8) -> Self
fn from(s: PtrOfActivationLayerInt8) -> Self
source§impl From<Ptr<ActivationLayerInt8>> for Ptr<Algorithm>
impl From<Ptr<ActivationLayerInt8>> for Ptr<Algorithm>
source§fn from(s: PtrOfActivationLayerInt8) -> Self
fn from(s: PtrOfActivationLayerInt8) -> Self
source§impl From<Ptr<ActivationLayerInt8>> for Ptr<Layer>
impl From<Ptr<ActivationLayerInt8>> for Ptr<Layer>
source§fn from(s: PtrOfActivationLayerInt8) -> Self
fn from(s: PtrOfActivationLayerInt8) -> Self
source§impl From<Ptr<BNLLLayer>> for Ptr<ActivationLayer>
impl From<Ptr<BNLLLayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfBNLLLayer) -> Self
fn from(s: PtrOfBNLLLayer) -> Self
source§impl From<Ptr<BNLLLayer>> for Ptr<Algorithm>
impl From<Ptr<BNLLLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfBNLLLayer) -> Self
fn from(s: PtrOfBNLLLayer) -> Self
source§impl From<Ptr<BNLLLayer>> for Ptr<Layer>
impl From<Ptr<BNLLLayer>> for Ptr<Layer>
source§fn from(s: PtrOfBNLLLayer) -> Self
fn from(s: PtrOfBNLLLayer) -> Self
source§impl From<Ptr<BaseConvolutionLayer>> for Ptr<Algorithm>
impl From<Ptr<BaseConvolutionLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfBaseConvolutionLayer) -> Self
fn from(s: PtrOfBaseConvolutionLayer) -> Self
source§impl From<Ptr<BaseConvolutionLayer>> for Ptr<Layer>
impl From<Ptr<BaseConvolutionLayer>> for Ptr<Layer>
source§fn from(s: PtrOfBaseConvolutionLayer) -> Self
fn from(s: PtrOfBaseConvolutionLayer) -> Self
source§impl From<Ptr<BatchNormLayer>> for Ptr<ActivationLayer>
impl From<Ptr<BatchNormLayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfBatchNormLayer) -> Self
fn from(s: PtrOfBatchNormLayer) -> Self
source§impl From<Ptr<BatchNormLayer>> for Ptr<Algorithm>
impl From<Ptr<BatchNormLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfBatchNormLayer) -> Self
fn from(s: PtrOfBatchNormLayer) -> Self
source§impl From<Ptr<BatchNormLayer>> for Ptr<Layer>
impl From<Ptr<BatchNormLayer>> for Ptr<Layer>
source§fn from(s: PtrOfBatchNormLayer) -> Self
fn from(s: PtrOfBatchNormLayer) -> Self
source§impl From<Ptr<BatchNormLayerInt8>> for Ptr<ActivationLayer>
impl From<Ptr<BatchNormLayerInt8>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfBatchNormLayerInt8) -> Self
fn from(s: PtrOfBatchNormLayerInt8) -> Self
source§impl From<Ptr<BatchNormLayerInt8>> for Ptr<Algorithm>
impl From<Ptr<BatchNormLayerInt8>> for Ptr<Algorithm>
source§fn from(s: PtrOfBatchNormLayerInt8) -> Self
fn from(s: PtrOfBatchNormLayerInt8) -> Self
source§impl From<Ptr<BatchNormLayerInt8>> for Ptr<BatchNormLayer>
impl From<Ptr<BatchNormLayerInt8>> for Ptr<BatchNormLayer>
source§fn from(s: PtrOfBatchNormLayerInt8) -> Self
fn from(s: PtrOfBatchNormLayerInt8) -> Self
source§impl From<Ptr<BatchNormLayerInt8>> for Ptr<Layer>
impl From<Ptr<BatchNormLayerInt8>> for Ptr<Layer>
source§fn from(s: PtrOfBatchNormLayerInt8) -> Self
fn from(s: PtrOfBatchNormLayerInt8) -> Self
source§impl From<Ptr<BlankLayer>> for Ptr<Algorithm>
impl From<Ptr<BlankLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfBlankLayer) -> Self
fn from(s: PtrOfBlankLayer) -> Self
source§impl From<Ptr<BlankLayer>> for Ptr<Layer>
impl From<Ptr<BlankLayer>> for Ptr<Layer>
source§fn from(s: PtrOfBlankLayer) -> Self
fn from(s: PtrOfBlankLayer) -> Self
source§impl From<Ptr<CLAHE>> for Ptr<Algorithm>
impl From<Ptr<CLAHE>> for Ptr<Algorithm>
source§fn from(s: PtrOfCLAHE) -> Self
fn from(s: PtrOfCLAHE) -> Self
source§impl From<Ptr<ChannelsPReLULayer>> for Ptr<ActivationLayer>
impl From<Ptr<ChannelsPReLULayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfChannelsPReLULayer) -> Self
fn from(s: PtrOfChannelsPReLULayer) -> Self
source§impl From<Ptr<ChannelsPReLULayer>> for Ptr<Algorithm>
impl From<Ptr<ChannelsPReLULayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfChannelsPReLULayer) -> Self
fn from(s: PtrOfChannelsPReLULayer) -> Self
source§impl From<Ptr<ChannelsPReLULayer>> for Ptr<Layer>
impl From<Ptr<ChannelsPReLULayer>> for Ptr<Layer>
source§fn from(s: PtrOfChannelsPReLULayer) -> Self
fn from(s: PtrOfChannelsPReLULayer) -> Self
source§impl From<Ptr<ConcatLayer>> for Ptr<Algorithm>
impl From<Ptr<ConcatLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfConcatLayer) -> Self
fn from(s: PtrOfConcatLayer) -> Self
source§impl From<Ptr<ConcatLayer>> for Ptr<Layer>
impl From<Ptr<ConcatLayer>> for Ptr<Layer>
source§fn from(s: PtrOfConcatLayer) -> Self
fn from(s: PtrOfConcatLayer) -> Self
source§impl From<Ptr<ConjGradSolver>> for Ptr<Algorithm>
impl From<Ptr<ConjGradSolver>> for Ptr<Algorithm>
source§fn from(s: PtrOfConjGradSolver) -> Self
fn from(s: PtrOfConjGradSolver) -> Self
source§impl From<Ptr<ConjGradSolver>> for Ptr<MinProblemSolver>
impl From<Ptr<ConjGradSolver>> for Ptr<MinProblemSolver>
source§fn from(s: PtrOfConjGradSolver) -> Self
fn from(s: PtrOfConjGradSolver) -> Self
source§impl From<Ptr<ConstLayer>> for Ptr<Algorithm>
impl From<Ptr<ConstLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfConstLayer) -> Self
fn from(s: PtrOfConstLayer) -> Self
source§impl From<Ptr<ConstLayer>> for Ptr<Layer>
impl From<Ptr<ConstLayer>> for Ptr<Layer>
source§fn from(s: PtrOfConstLayer) -> Self
fn from(s: PtrOfConstLayer) -> Self
source§impl From<Ptr<ConvolutionLayer>> for Ptr<Algorithm>
impl From<Ptr<ConvolutionLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfConvolutionLayer) -> Self
fn from(s: PtrOfConvolutionLayer) -> Self
source§impl From<Ptr<ConvolutionLayer>> for Ptr<BaseConvolutionLayer>
impl From<Ptr<ConvolutionLayer>> for Ptr<BaseConvolutionLayer>
source§fn from(s: PtrOfConvolutionLayer) -> Self
fn from(s: PtrOfConvolutionLayer) -> Self
source§impl From<Ptr<ConvolutionLayer>> for Ptr<Layer>
impl From<Ptr<ConvolutionLayer>> for Ptr<Layer>
source§fn from(s: PtrOfConvolutionLayer) -> Self
fn from(s: PtrOfConvolutionLayer) -> Self
source§impl From<Ptr<ConvolutionLayerInt8>> for Ptr<Algorithm>
impl From<Ptr<ConvolutionLayerInt8>> for Ptr<Algorithm>
source§fn from(s: PtrOfConvolutionLayerInt8) -> Self
fn from(s: PtrOfConvolutionLayerInt8) -> Self
source§impl From<Ptr<ConvolutionLayerInt8>> for Ptr<BaseConvolutionLayer>
impl From<Ptr<ConvolutionLayerInt8>> for Ptr<BaseConvolutionLayer>
source§fn from(s: PtrOfConvolutionLayerInt8) -> Self
fn from(s: PtrOfConvolutionLayerInt8) -> Self
source§impl From<Ptr<ConvolutionLayerInt8>> for Ptr<Layer>
impl From<Ptr<ConvolutionLayerInt8>> for Ptr<Layer>
source§fn from(s: PtrOfConvolutionLayerInt8) -> Self
fn from(s: PtrOfConvolutionLayerInt8) -> Self
source§impl From<Ptr<CorrelationLayer>> for Ptr<Algorithm>
impl From<Ptr<CorrelationLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfCorrelationLayer) -> Self
fn from(s: PtrOfCorrelationLayer) -> Self
source§impl From<Ptr<CorrelationLayer>> for Ptr<Layer>
impl From<Ptr<CorrelationLayer>> for Ptr<Layer>
source§fn from(s: PtrOfCorrelationLayer) -> Self
fn from(s: PtrOfCorrelationLayer) -> Self
source§impl From<Ptr<CropAndResizeLayer>> for Ptr<Algorithm>
impl From<Ptr<CropAndResizeLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfCropAndResizeLayer) -> Self
fn from(s: PtrOfCropAndResizeLayer) -> Self
source§impl From<Ptr<CropAndResizeLayer>> for Ptr<Layer>
impl From<Ptr<CropAndResizeLayer>> for Ptr<Layer>
source§fn from(s: PtrOfCropAndResizeLayer) -> Self
fn from(s: PtrOfCropAndResizeLayer) -> Self
source§impl From<Ptr<CropLayer>> for Ptr<Algorithm>
impl From<Ptr<CropLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfCropLayer) -> Self
fn from(s: PtrOfCropLayer) -> Self
source§impl From<Ptr<CropLayer>> for Ptr<Layer>
impl From<Ptr<CropLayer>> for Ptr<Layer>
source§fn from(s: PtrOfCropLayer) -> Self
fn from(s: PtrOfCropLayer) -> Self
source§impl From<Ptr<CumSumLayer>> for Ptr<Algorithm>
impl From<Ptr<CumSumLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfCumSumLayer) -> Self
fn from(s: PtrOfCumSumLayer) -> Self
source§impl From<Ptr<CumSumLayer>> for Ptr<Layer>
impl From<Ptr<CumSumLayer>> for Ptr<Layer>
source§fn from(s: PtrOfCumSumLayer) -> Self
fn from(s: PtrOfCumSumLayer) -> Self
source§impl From<Ptr<DataAugmentationLayer>> for Ptr<Algorithm>
impl From<Ptr<DataAugmentationLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfDataAugmentationLayer) -> Self
fn from(s: PtrOfDataAugmentationLayer) -> Self
source§impl From<Ptr<DataAugmentationLayer>> for Ptr<Layer>
impl From<Ptr<DataAugmentationLayer>> for Ptr<Layer>
source§fn from(s: PtrOfDataAugmentationLayer) -> Self
fn from(s: PtrOfDataAugmentationLayer) -> Self
source§impl From<Ptr<DeconvolutionLayer>> for Ptr<Algorithm>
impl From<Ptr<DeconvolutionLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfDeconvolutionLayer) -> Self
fn from(s: PtrOfDeconvolutionLayer) -> Self
source§impl From<Ptr<DeconvolutionLayer>> for Ptr<BaseConvolutionLayer>
impl From<Ptr<DeconvolutionLayer>> for Ptr<BaseConvolutionLayer>
source§fn from(s: PtrOfDeconvolutionLayer) -> Self
fn from(s: PtrOfDeconvolutionLayer) -> Self
source§impl From<Ptr<DeconvolutionLayer>> for Ptr<Layer>
impl From<Ptr<DeconvolutionLayer>> for Ptr<Layer>
source§fn from(s: PtrOfDeconvolutionLayer) -> Self
fn from(s: PtrOfDeconvolutionLayer) -> Self
source§impl From<Ptr<DequantizeLayer>> for Ptr<Algorithm>
impl From<Ptr<DequantizeLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfDequantizeLayer) -> Self
fn from(s: PtrOfDequantizeLayer) -> Self
source§impl From<Ptr<DequantizeLayer>> for Ptr<Layer>
impl From<Ptr<DequantizeLayer>> for Ptr<Layer>
source§fn from(s: PtrOfDequantizeLayer) -> Self
fn from(s: PtrOfDequantizeLayer) -> Self
source§impl From<Ptr<DetectionOutputLayer>> for Ptr<Algorithm>
impl From<Ptr<DetectionOutputLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfDetectionOutputLayer) -> Self
fn from(s: PtrOfDetectionOutputLayer) -> Self
source§impl From<Ptr<DetectionOutputLayer>> for Ptr<Layer>
impl From<Ptr<DetectionOutputLayer>> for Ptr<Layer>
source§fn from(s: PtrOfDetectionOutputLayer) -> Self
fn from(s: PtrOfDetectionOutputLayer) -> Self
source§impl From<Ptr<DownhillSolver>> for Ptr<Algorithm>
impl From<Ptr<DownhillSolver>> for Ptr<Algorithm>
source§fn from(s: PtrOfDownhillSolver) -> Self
fn from(s: PtrOfDownhillSolver) -> Self
source§impl From<Ptr<DownhillSolver>> for Ptr<MinProblemSolver>
impl From<Ptr<DownhillSolver>> for Ptr<MinProblemSolver>
source§fn from(s: PtrOfDownhillSolver) -> Self
fn from(s: PtrOfDownhillSolver) -> Self
source§impl From<Ptr<ELULayer>> for Ptr<ActivationLayer>
impl From<Ptr<ELULayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfELULayer) -> Self
fn from(s: PtrOfELULayer) -> Self
source§impl From<Ptr<ELULayer>> for Ptr<Algorithm>
impl From<Ptr<ELULayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfELULayer) -> Self
fn from(s: PtrOfELULayer) -> Self
source§impl From<Ptr<ELULayer>> for Ptr<Layer>
impl From<Ptr<ELULayer>> for Ptr<Layer>
source§fn from(s: PtrOfELULayer) -> Self
fn from(s: PtrOfELULayer) -> Self
source§impl From<Ptr<EltwiseLayer>> for Ptr<Algorithm>
impl From<Ptr<EltwiseLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfEltwiseLayer) -> Self
fn from(s: PtrOfEltwiseLayer) -> Self
source§impl From<Ptr<EltwiseLayer>> for Ptr<Layer>
impl From<Ptr<EltwiseLayer>> for Ptr<Layer>
source§fn from(s: PtrOfEltwiseLayer) -> Self
fn from(s: PtrOfEltwiseLayer) -> Self
source§impl From<Ptr<EltwiseLayerInt8>> for Ptr<Algorithm>
impl From<Ptr<EltwiseLayerInt8>> for Ptr<Algorithm>
source§fn from(s: PtrOfEltwiseLayerInt8) -> Self
fn from(s: PtrOfEltwiseLayerInt8) -> Self
source§impl From<Ptr<EltwiseLayerInt8>> for Ptr<Layer>
impl From<Ptr<EltwiseLayerInt8>> for Ptr<Layer>
source§fn from(s: PtrOfEltwiseLayerInt8) -> Self
fn from(s: PtrOfEltwiseLayerInt8) -> Self
source§impl From<Ptr<ExpLayer>> for Ptr<ActivationLayer>
impl From<Ptr<ExpLayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfExpLayer) -> Self
fn from(s: PtrOfExpLayer) -> Self
source§impl From<Ptr<ExpLayer>> for Ptr<Algorithm>
impl From<Ptr<ExpLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfExpLayer) -> Self
fn from(s: PtrOfExpLayer) -> Self
source§impl From<Ptr<ExpLayer>> for Ptr<Layer>
impl From<Ptr<ExpLayer>> for Ptr<Layer>
source§fn from(s: PtrOfExpLayer) -> Self
fn from(s: PtrOfExpLayer) -> Self
source§impl From<Ptr<FlattenLayer>> for Ptr<Algorithm>
impl From<Ptr<FlattenLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfFlattenLayer) -> Self
fn from(s: PtrOfFlattenLayer) -> Self
source§impl From<Ptr<FlattenLayer>> for Ptr<Layer>
impl From<Ptr<FlattenLayer>> for Ptr<Layer>
source§fn from(s: PtrOfFlattenLayer) -> Self
fn from(s: PtrOfFlattenLayer) -> Self
source§impl From<Ptr<FlowWarpLayer>> for Ptr<Algorithm>
impl From<Ptr<FlowWarpLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfFlowWarpLayer) -> Self
fn from(s: PtrOfFlowWarpLayer) -> Self
source§impl From<Ptr<FlowWarpLayer>> for Ptr<Layer>
impl From<Ptr<FlowWarpLayer>> for Ptr<Layer>
source§fn from(s: PtrOfFlowWarpLayer) -> Self
fn from(s: PtrOfFlowWarpLayer) -> Self
source§impl From<Ptr<GRULayer>> for Ptr<Algorithm>
impl From<Ptr<GRULayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfGRULayer) -> Self
fn from(s: PtrOfGRULayer) -> Self
source§impl From<Ptr<GRULayer>> for Ptr<Layer>
impl From<Ptr<GRULayer>> for Ptr<Layer>
source§fn from(s: PtrOfGRULayer) -> Self
fn from(s: PtrOfGRULayer) -> Self
source§impl From<Ptr<GeneralizedHough>> for Ptr<Algorithm>
impl From<Ptr<GeneralizedHough>> for Ptr<Algorithm>
source§fn from(s: PtrOfGeneralizedHough) -> Self
fn from(s: PtrOfGeneralizedHough) -> Self
source§impl From<Ptr<GeneralizedHoughBallard>> for Ptr<Algorithm>
impl From<Ptr<GeneralizedHoughBallard>> for Ptr<Algorithm>
source§fn from(s: PtrOfGeneralizedHoughBallard) -> Self
fn from(s: PtrOfGeneralizedHoughBallard) -> Self
source§impl From<Ptr<GeneralizedHoughBallard>> for Ptr<GeneralizedHough>
impl From<Ptr<GeneralizedHoughBallard>> for Ptr<GeneralizedHough>
source§fn from(s: PtrOfGeneralizedHoughBallard) -> Self
fn from(s: PtrOfGeneralizedHoughBallard) -> Self
source§impl From<Ptr<GeneralizedHoughGuil>> for Ptr<Algorithm>
impl From<Ptr<GeneralizedHoughGuil>> for Ptr<Algorithm>
source§fn from(s: PtrOfGeneralizedHoughGuil) -> Self
fn from(s: PtrOfGeneralizedHoughGuil) -> Self
source§impl From<Ptr<GeneralizedHoughGuil>> for Ptr<GeneralizedHough>
impl From<Ptr<GeneralizedHoughGuil>> for Ptr<GeneralizedHough>
source§fn from(s: PtrOfGeneralizedHoughGuil) -> Self
fn from(s: PtrOfGeneralizedHoughGuil) -> Self
source§impl From<Ptr<InnerProductLayer>> for Ptr<Algorithm>
impl From<Ptr<InnerProductLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfInnerProductLayer) -> Self
fn from(s: PtrOfInnerProductLayer) -> Self
source§impl From<Ptr<InnerProductLayer>> for Ptr<Layer>
impl From<Ptr<InnerProductLayer>> for Ptr<Layer>
source§fn from(s: PtrOfInnerProductLayer) -> Self
fn from(s: PtrOfInnerProductLayer) -> Self
source§impl From<Ptr<InnerProductLayerInt8>> for Ptr<Algorithm>
impl From<Ptr<InnerProductLayerInt8>> for Ptr<Algorithm>
source§fn from(s: PtrOfInnerProductLayerInt8) -> Self
fn from(s: PtrOfInnerProductLayerInt8) -> Self
source§impl From<Ptr<InnerProductLayerInt8>> for Ptr<InnerProductLayer>
impl From<Ptr<InnerProductLayerInt8>> for Ptr<InnerProductLayer>
source§fn from(s: PtrOfInnerProductLayerInt8) -> Self
fn from(s: PtrOfInnerProductLayerInt8) -> Self
source§impl From<Ptr<InnerProductLayerInt8>> for Ptr<Layer>
impl From<Ptr<InnerProductLayerInt8>> for Ptr<Layer>
source§fn from(s: PtrOfInnerProductLayerInt8) -> Self
fn from(s: PtrOfInnerProductLayerInt8) -> Self
source§impl From<Ptr<InterpLayer>> for Ptr<Algorithm>
impl From<Ptr<InterpLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfInterpLayer) -> Self
fn from(s: PtrOfInterpLayer) -> Self
source§impl From<Ptr<InterpLayer>> for Ptr<Layer>
impl From<Ptr<InterpLayer>> for Ptr<Layer>
source§fn from(s: PtrOfInterpLayer) -> Self
fn from(s: PtrOfInterpLayer) -> Self
source§impl From<Ptr<LRNLayer>> for Ptr<Algorithm>
impl From<Ptr<LRNLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfLRNLayer) -> Self
fn from(s: PtrOfLRNLayer) -> Self
source§impl From<Ptr<LRNLayer>> for Ptr<Layer>
impl From<Ptr<LRNLayer>> for Ptr<Layer>
source§fn from(s: PtrOfLRNLayer) -> Self
fn from(s: PtrOfLRNLayer) -> Self
source§impl From<Ptr<LSTMLayer>> for Ptr<Algorithm>
impl From<Ptr<LSTMLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfLSTMLayer) -> Self
fn from(s: PtrOfLSTMLayer) -> Self
source§impl From<Ptr<LSTMLayer>> for Ptr<Layer>
impl From<Ptr<LSTMLayer>> for Ptr<Layer>
source§fn from(s: PtrOfLSTMLayer) -> Self
fn from(s: PtrOfLSTMLayer) -> Self
source§impl From<Ptr<Layer>> for Ptr<Algorithm>
impl From<Ptr<Layer>> for Ptr<Algorithm>
source§fn from(s: PtrOfLayer) -> Self
fn from(s: PtrOfLayer) -> Self
source§impl From<Ptr<LineSegmentDetector>> for Ptr<Algorithm>
impl From<Ptr<LineSegmentDetector>> for Ptr<Algorithm>
source§fn from(s: PtrOfLineSegmentDetector) -> Self
fn from(s: PtrOfLineSegmentDetector) -> Self
source§impl From<Ptr<MVNLayer>> for Ptr<Algorithm>
impl From<Ptr<MVNLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfMVNLayer) -> Self
fn from(s: PtrOfMVNLayer) -> Self
source§impl From<Ptr<MVNLayer>> for Ptr<Layer>
impl From<Ptr<MVNLayer>> for Ptr<Layer>
source§fn from(s: PtrOfMVNLayer) -> Self
fn from(s: PtrOfMVNLayer) -> Self
source§impl From<Ptr<MaxUnpoolLayer>> for Ptr<Algorithm>
impl From<Ptr<MaxUnpoolLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfMaxUnpoolLayer) -> Self
fn from(s: PtrOfMaxUnpoolLayer) -> Self
source§impl From<Ptr<MaxUnpoolLayer>> for Ptr<Layer>
impl From<Ptr<MaxUnpoolLayer>> for Ptr<Layer>
source§fn from(s: PtrOfMaxUnpoolLayer) -> Self
fn from(s: PtrOfMaxUnpoolLayer) -> Self
source§impl From<Ptr<MinProblemSolver>> for Ptr<Algorithm>
impl From<Ptr<MinProblemSolver>> for Ptr<Algorithm>
source§fn from(s: PtrOfMinProblemSolver) -> Self
fn from(s: PtrOfMinProblemSolver) -> Self
source§impl From<Ptr<MishLayer>> for Ptr<ActivationLayer>
impl From<Ptr<MishLayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfMishLayer) -> Self
fn from(s: PtrOfMishLayer) -> Self
source§impl From<Ptr<MishLayer>> for Ptr<Algorithm>
impl From<Ptr<MishLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfMishLayer) -> Self
fn from(s: PtrOfMishLayer) -> Self
source§impl From<Ptr<MishLayer>> for Ptr<Layer>
impl From<Ptr<MishLayer>> for Ptr<Layer>
source§fn from(s: PtrOfMishLayer) -> Self
fn from(s: PtrOfMishLayer) -> Self
source§impl From<Ptr<NormalizeBBoxLayer>> for Ptr<Algorithm>
impl From<Ptr<NormalizeBBoxLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfNormalizeBBoxLayer) -> Self
fn from(s: PtrOfNormalizeBBoxLayer) -> Self
source§impl From<Ptr<NormalizeBBoxLayer>> for Ptr<Layer>
impl From<Ptr<NormalizeBBoxLayer>> for Ptr<Layer>
source§fn from(s: PtrOfNormalizeBBoxLayer) -> Self
fn from(s: PtrOfNormalizeBBoxLayer) -> Self
source§impl From<Ptr<PaddingLayer>> for Ptr<Algorithm>
impl From<Ptr<PaddingLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfPaddingLayer) -> Self
fn from(s: PtrOfPaddingLayer) -> Self
source§impl From<Ptr<PaddingLayer>> for Ptr<Layer>
impl From<Ptr<PaddingLayer>> for Ptr<Layer>
source§fn from(s: PtrOfPaddingLayer) -> Self
fn from(s: PtrOfPaddingLayer) -> Self
source§impl From<Ptr<PermuteLayer>> for Ptr<Algorithm>
impl From<Ptr<PermuteLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfPermuteLayer) -> Self
fn from(s: PtrOfPermuteLayer) -> Self
source§impl From<Ptr<PermuteLayer>> for Ptr<Layer>
impl From<Ptr<PermuteLayer>> for Ptr<Layer>
source§fn from(s: PtrOfPermuteLayer) -> Self
fn from(s: PtrOfPermuteLayer) -> Self
source§impl From<Ptr<PoolingLayer>> for Ptr<Algorithm>
impl From<Ptr<PoolingLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfPoolingLayer) -> Self
fn from(s: PtrOfPoolingLayer) -> Self
source§impl From<Ptr<PoolingLayer>> for Ptr<Layer>
impl From<Ptr<PoolingLayer>> for Ptr<Layer>
source§fn from(s: PtrOfPoolingLayer) -> Self
fn from(s: PtrOfPoolingLayer) -> Self
source§impl From<Ptr<PoolingLayerInt8>> for Ptr<Algorithm>
impl From<Ptr<PoolingLayerInt8>> for Ptr<Algorithm>
source§fn from(s: PtrOfPoolingLayerInt8) -> Self
fn from(s: PtrOfPoolingLayerInt8) -> Self
source§impl From<Ptr<PoolingLayerInt8>> for Ptr<Layer>
impl From<Ptr<PoolingLayerInt8>> for Ptr<Layer>
source§fn from(s: PtrOfPoolingLayerInt8) -> Self
fn from(s: PtrOfPoolingLayerInt8) -> Self
source§impl From<Ptr<PoolingLayerInt8>> for Ptr<PoolingLayer>
impl From<Ptr<PoolingLayerInt8>> for Ptr<PoolingLayer>
source§fn from(s: PtrOfPoolingLayerInt8) -> Self
fn from(s: PtrOfPoolingLayerInt8) -> Self
source§impl From<Ptr<PowerLayer>> for Ptr<ActivationLayer>
impl From<Ptr<PowerLayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfPowerLayer) -> Self
fn from(s: PtrOfPowerLayer) -> Self
source§impl From<Ptr<PowerLayer>> for Ptr<Algorithm>
impl From<Ptr<PowerLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfPowerLayer) -> Self
fn from(s: PtrOfPowerLayer) -> Self
source§impl From<Ptr<PowerLayer>> for Ptr<Layer>
impl From<Ptr<PowerLayer>> for Ptr<Layer>
source§fn from(s: PtrOfPowerLayer) -> Self
fn from(s: PtrOfPowerLayer) -> Self
source§impl From<Ptr<PriorBoxLayer>> for Ptr<Algorithm>
impl From<Ptr<PriorBoxLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfPriorBoxLayer) -> Self
fn from(s: PtrOfPriorBoxLayer) -> Self
source§impl From<Ptr<PriorBoxLayer>> for Ptr<Layer>
impl From<Ptr<PriorBoxLayer>> for Ptr<Layer>
source§fn from(s: PtrOfPriorBoxLayer) -> Self
fn from(s: PtrOfPriorBoxLayer) -> Self
source§impl From<Ptr<ProposalLayer>> for Ptr<Algorithm>
impl From<Ptr<ProposalLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfProposalLayer) -> Self
fn from(s: PtrOfProposalLayer) -> Self
source§impl From<Ptr<ProposalLayer>> for Ptr<Layer>
impl From<Ptr<ProposalLayer>> for Ptr<Layer>
source§fn from(s: PtrOfProposalLayer) -> Self
fn from(s: PtrOfProposalLayer) -> Self
source§impl From<Ptr<QuantizeLayer>> for Ptr<Algorithm>
impl From<Ptr<QuantizeLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfQuantizeLayer) -> Self
fn from(s: PtrOfQuantizeLayer) -> Self
source§impl From<Ptr<QuantizeLayer>> for Ptr<Layer>
impl From<Ptr<QuantizeLayer>> for Ptr<Layer>
source§fn from(s: PtrOfQuantizeLayer) -> Self
fn from(s: PtrOfQuantizeLayer) -> Self
source§impl From<Ptr<RNNLayer>> for Ptr<Algorithm>
impl From<Ptr<RNNLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfRNNLayer) -> Self
fn from(s: PtrOfRNNLayer) -> Self
source§impl From<Ptr<RNNLayer>> for Ptr<Layer>
impl From<Ptr<RNNLayer>> for Ptr<Layer>
source§fn from(s: PtrOfRNNLayer) -> Self
fn from(s: PtrOfRNNLayer) -> Self
source§impl From<Ptr<ReLU6Layer>> for Ptr<ActivationLayer>
impl From<Ptr<ReLU6Layer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfReLU6Layer) -> Self
fn from(s: PtrOfReLU6Layer) -> Self
source§impl From<Ptr<ReLU6Layer>> for Ptr<Algorithm>
impl From<Ptr<ReLU6Layer>> for Ptr<Algorithm>
source§fn from(s: PtrOfReLU6Layer) -> Self
fn from(s: PtrOfReLU6Layer) -> Self
source§impl From<Ptr<ReLU6Layer>> for Ptr<Layer>
impl From<Ptr<ReLU6Layer>> for Ptr<Layer>
source§fn from(s: PtrOfReLU6Layer) -> Self
fn from(s: PtrOfReLU6Layer) -> Self
source§impl From<Ptr<ReLULayer>> for Ptr<ActivationLayer>
impl From<Ptr<ReLULayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfReLULayer) -> Self
fn from(s: PtrOfReLULayer) -> Self
source§impl From<Ptr<ReLULayer>> for Ptr<Algorithm>
impl From<Ptr<ReLULayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfReLULayer) -> Self
fn from(s: PtrOfReLULayer) -> Self
source§impl From<Ptr<ReLULayer>> for Ptr<Layer>
impl From<Ptr<ReLULayer>> for Ptr<Layer>
source§fn from(s: PtrOfReLULayer) -> Self
fn from(s: PtrOfReLULayer) -> Self
source§impl From<Ptr<RegionLayer>> for Ptr<Algorithm>
impl From<Ptr<RegionLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfRegionLayer) -> Self
fn from(s: PtrOfRegionLayer) -> Self
source§impl From<Ptr<RegionLayer>> for Ptr<Layer>
impl From<Ptr<RegionLayer>> for Ptr<Layer>
source§fn from(s: PtrOfRegionLayer) -> Self
fn from(s: PtrOfRegionLayer) -> Self
source§impl From<Ptr<ReorgLayer>> for Ptr<Algorithm>
impl From<Ptr<ReorgLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfReorgLayer) -> Self
fn from(s: PtrOfReorgLayer) -> Self
source§impl From<Ptr<ReorgLayer>> for Ptr<Layer>
impl From<Ptr<ReorgLayer>> for Ptr<Layer>
source§fn from(s: PtrOfReorgLayer) -> Self
fn from(s: PtrOfReorgLayer) -> Self
source§impl From<Ptr<RequantizeLayer>> for Ptr<Algorithm>
impl From<Ptr<RequantizeLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfRequantizeLayer) -> Self
fn from(s: PtrOfRequantizeLayer) -> Self
source§impl From<Ptr<RequantizeLayer>> for Ptr<Layer>
impl From<Ptr<RequantizeLayer>> for Ptr<Layer>
source§fn from(s: PtrOfRequantizeLayer) -> Self
fn from(s: PtrOfRequantizeLayer) -> Self
source§impl From<Ptr<ReshapeLayer>> for Ptr<Algorithm>
impl From<Ptr<ReshapeLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfReshapeLayer) -> Self
fn from(s: PtrOfReshapeLayer) -> Self
source§impl From<Ptr<ReshapeLayer>> for Ptr<Layer>
impl From<Ptr<ReshapeLayer>> for Ptr<Layer>
source§fn from(s: PtrOfReshapeLayer) -> Self
fn from(s: PtrOfReshapeLayer) -> Self
source§impl From<Ptr<ResizeLayer>> for Ptr<Algorithm>
impl From<Ptr<ResizeLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfResizeLayer) -> Self
fn from(s: PtrOfResizeLayer) -> Self
source§impl From<Ptr<ResizeLayer>> for Ptr<Layer>
impl From<Ptr<ResizeLayer>> for Ptr<Layer>
source§fn from(s: PtrOfResizeLayer) -> Self
fn from(s: PtrOfResizeLayer) -> Self
source§impl From<Ptr<ScaleLayer>> for Ptr<Algorithm>
impl From<Ptr<ScaleLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfScaleLayer) -> Self
fn from(s: PtrOfScaleLayer) -> Self
source§impl From<Ptr<ScaleLayer>> for Ptr<Layer>
impl From<Ptr<ScaleLayer>> for Ptr<Layer>
source§fn from(s: PtrOfScaleLayer) -> Self
fn from(s: PtrOfScaleLayer) -> Self
source§impl From<Ptr<ScaleLayerInt8>> for Ptr<Algorithm>
impl From<Ptr<ScaleLayerInt8>> for Ptr<Algorithm>
source§fn from(s: PtrOfScaleLayerInt8) -> Self
fn from(s: PtrOfScaleLayerInt8) -> Self
source§impl From<Ptr<ScaleLayerInt8>> for Ptr<Layer>
impl From<Ptr<ScaleLayerInt8>> for Ptr<Layer>
source§fn from(s: PtrOfScaleLayerInt8) -> Self
fn from(s: PtrOfScaleLayerInt8) -> Self
source§impl From<Ptr<ScaleLayerInt8>> for Ptr<ScaleLayer>
impl From<Ptr<ScaleLayerInt8>> for Ptr<ScaleLayer>
source§fn from(s: PtrOfScaleLayerInt8) -> Self
fn from(s: PtrOfScaleLayerInt8) -> Self
source§impl From<Ptr<ShiftLayer>> for Ptr<Algorithm>
impl From<Ptr<ShiftLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfShiftLayer) -> Self
fn from(s: PtrOfShiftLayer) -> Self
source§impl From<Ptr<ShiftLayer>> for Ptr<Layer>
impl From<Ptr<ShiftLayer>> for Ptr<Layer>
source§fn from(s: PtrOfShiftLayer) -> Self
fn from(s: PtrOfShiftLayer) -> Self
source§impl From<Ptr<ShiftLayerInt8>> for Ptr<Algorithm>
impl From<Ptr<ShiftLayerInt8>> for Ptr<Algorithm>
source§fn from(s: PtrOfShiftLayerInt8) -> Self
fn from(s: PtrOfShiftLayerInt8) -> Self
source§impl From<Ptr<ShiftLayerInt8>> for Ptr<Layer>
impl From<Ptr<ShiftLayerInt8>> for Ptr<Layer>
source§fn from(s: PtrOfShiftLayerInt8) -> Self
fn from(s: PtrOfShiftLayerInt8) -> Self
source§impl From<Ptr<ShuffleChannelLayer>> for Ptr<Algorithm>
impl From<Ptr<ShuffleChannelLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfShuffleChannelLayer) -> Self
fn from(s: PtrOfShuffleChannelLayer) -> Self
source§impl From<Ptr<ShuffleChannelLayer>> for Ptr<Layer>
impl From<Ptr<ShuffleChannelLayer>> for Ptr<Layer>
source§fn from(s: PtrOfShuffleChannelLayer) -> Self
fn from(s: PtrOfShuffleChannelLayer) -> Self
source§impl From<Ptr<SigmoidLayer>> for Ptr<ActivationLayer>
impl From<Ptr<SigmoidLayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfSigmoidLayer) -> Self
fn from(s: PtrOfSigmoidLayer) -> Self
source§impl From<Ptr<SigmoidLayer>> for Ptr<Algorithm>
impl From<Ptr<SigmoidLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfSigmoidLayer) -> Self
fn from(s: PtrOfSigmoidLayer) -> Self
source§impl From<Ptr<SigmoidLayer>> for Ptr<Layer>
impl From<Ptr<SigmoidLayer>> for Ptr<Layer>
source§fn from(s: PtrOfSigmoidLayer) -> Self
fn from(s: PtrOfSigmoidLayer) -> Self
source§impl From<Ptr<SliceLayer>> for Ptr<Algorithm>
impl From<Ptr<SliceLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfSliceLayer) -> Self
fn from(s: PtrOfSliceLayer) -> Self
source§impl From<Ptr<SliceLayer>> for Ptr<Layer>
impl From<Ptr<SliceLayer>> for Ptr<Layer>
source§fn from(s: PtrOfSliceLayer) -> Self
fn from(s: PtrOfSliceLayer) -> Self
source§impl From<Ptr<SoftmaxLayer>> for Ptr<Algorithm>
impl From<Ptr<SoftmaxLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfSoftmaxLayer) -> Self
fn from(s: PtrOfSoftmaxLayer) -> Self
source§impl From<Ptr<SoftmaxLayer>> for Ptr<Layer>
impl From<Ptr<SoftmaxLayer>> for Ptr<Layer>
source§fn from(s: PtrOfSoftmaxLayer) -> Self
fn from(s: PtrOfSoftmaxLayer) -> Self
source§impl From<Ptr<SoftmaxLayerInt8>> for Ptr<Algorithm>
impl From<Ptr<SoftmaxLayerInt8>> for Ptr<Algorithm>
source§fn from(s: PtrOfSoftmaxLayerInt8) -> Self
fn from(s: PtrOfSoftmaxLayerInt8) -> Self
source§impl From<Ptr<SoftmaxLayerInt8>> for Ptr<Layer>
impl From<Ptr<SoftmaxLayerInt8>> for Ptr<Layer>
source§fn from(s: PtrOfSoftmaxLayerInt8) -> Self
fn from(s: PtrOfSoftmaxLayerInt8) -> Self
source§impl From<Ptr<SoftmaxLayerInt8>> for Ptr<SoftmaxLayer>
impl From<Ptr<SoftmaxLayerInt8>> for Ptr<SoftmaxLayer>
source§fn from(s: PtrOfSoftmaxLayerInt8) -> Self
fn from(s: PtrOfSoftmaxLayerInt8) -> Self
source§impl From<Ptr<SplitLayer>> for Ptr<Algorithm>
impl From<Ptr<SplitLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfSplitLayer) -> Self
fn from(s: PtrOfSplitLayer) -> Self
source§impl From<Ptr<SplitLayer>> for Ptr<Layer>
impl From<Ptr<SplitLayer>> for Ptr<Layer>
source§fn from(s: PtrOfSplitLayer) -> Self
fn from(s: PtrOfSplitLayer) -> Self
source§impl From<Ptr<SwishLayer>> for Ptr<ActivationLayer>
impl From<Ptr<SwishLayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfSwishLayer) -> Self
fn from(s: PtrOfSwishLayer) -> Self
source§impl From<Ptr<SwishLayer>> for Ptr<Algorithm>
impl From<Ptr<SwishLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfSwishLayer) -> Self
fn from(s: PtrOfSwishLayer) -> Self
source§impl From<Ptr<SwishLayer>> for Ptr<Layer>
impl From<Ptr<SwishLayer>> for Ptr<Layer>
source§fn from(s: PtrOfSwishLayer) -> Self
fn from(s: PtrOfSwishLayer) -> Self
source§impl From<Ptr<TanHLayer>> for Ptr<ActivationLayer>
impl From<Ptr<TanHLayer>> for Ptr<ActivationLayer>
source§fn from(s: PtrOfTanHLayer) -> Self
fn from(s: PtrOfTanHLayer) -> Self
source§impl From<Ptr<TanHLayer>> for Ptr<Algorithm>
impl From<Ptr<TanHLayer>> for Ptr<Algorithm>
source§fn from(s: PtrOfTanHLayer) -> Self
fn from(s: PtrOfTanHLayer) -> Self
source§impl From<Ptr<TanHLayer>> for Ptr<Layer>
impl From<Ptr<TanHLayer>> for Ptr<Layer>
source§fn from(s: PtrOfTanHLayer) -> Self
fn from(s: PtrOfTanHLayer) -> Self
source§impl GRULayerTrait for Ptr<GRULayer>
impl GRULayerTrait for Ptr<GRULayer>
fn as_raw_mut_GRULayer(&mut self) -> *mut c_void
source§impl GRULayerTraitConst for Ptr<GRULayer>
impl GRULayerTraitConst for Ptr<GRULayer>
fn as_raw_GRULayer(&self) -> *const c_void
source§impl GeneralizedHoughBallardTrait for Ptr<GeneralizedHoughBallard>
impl GeneralizedHoughBallardTrait for Ptr<GeneralizedHoughBallard>
fn as_raw_mut_GeneralizedHoughBallard(&mut self) -> *mut c_void
source§impl GeneralizedHoughBallardTraitConst for Ptr<GeneralizedHoughBallard>
impl GeneralizedHoughBallardTraitConst for Ptr<GeneralizedHoughBallard>
fn as_raw_GeneralizedHoughBallard(&self) -> *const c_void
fn get_levels(&self) -> Result<i32>
fn get_votes_threshold(&self) -> Result<i32>
source§impl GeneralizedHoughGuilTrait for Ptr<GeneralizedHoughGuil>
impl GeneralizedHoughGuilTrait for Ptr<GeneralizedHoughGuil>
fn as_raw_mut_GeneralizedHoughGuil(&mut self) -> *mut c_void
source§fn set_xi(&mut self, xi: f64) -> Result<()>
fn set_xi(&mut self, xi: f64) -> Result<()>
source§fn set_angle_epsilon(&mut self, angle_epsilon: f64) -> Result<()>
fn set_angle_epsilon(&mut self, angle_epsilon: f64) -> Result<()>
source§fn set_min_angle(&mut self, min_angle: f64) -> Result<()>
fn set_min_angle(&mut self, min_angle: f64) -> Result<()>
source§impl GeneralizedHoughGuilTraitConst for Ptr<GeneralizedHoughGuil>
impl GeneralizedHoughGuilTraitConst for Ptr<GeneralizedHoughGuil>
fn as_raw_GeneralizedHoughGuil(&self) -> *const c_void
fn get_xi(&self) -> Result<f64>
fn get_levels(&self) -> Result<i32>
fn get_angle_epsilon(&self) -> Result<f64>
fn get_min_angle(&self) -> Result<f64>
fn get_max_angle(&self) -> Result<f64>
fn get_angle_step(&self) -> Result<f64>
fn get_angle_thresh(&self) -> Result<i32>
fn get_min_scale(&self) -> Result<f64>
fn get_max_scale(&self) -> Result<f64>
fn get_scale_step(&self) -> Result<f64>
fn get_scale_thresh(&self) -> Result<i32>
fn get_pos_thresh(&self) -> Result<i32>
source§impl GeneralizedHoughTrait for Ptr<GeneralizedHough>
impl GeneralizedHoughTrait for Ptr<GeneralizedHough>
fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void
source§fn set_template(
&mut self,
templ: &impl ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template( &mut self, templ: &impl ToInputArray, templ_center: Point ) -> Result<()>
source§fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>
fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>
source§fn set_template_1(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, templ_center: Point ) -> Result<()>
source§fn set_template_def_1(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray
) -> Result<()>
fn set_template_def_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray ) -> Result<()>
source§fn detect(
&mut self,
image: &impl ToInputArray,
positions: &mut impl ToOutputArray,
votes: &mut impl ToOutputArray
) -> Result<()>
fn detect( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>
source§fn detect_def(
&mut self,
image: &impl ToInputArray,
positions: &mut impl ToOutputArray
) -> Result<()>
fn detect_def( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>
source§fn detect_with_edges(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray,
positions: &mut impl ToOutputArray,
votes: &mut impl ToOutputArray
) -> Result<()>
fn detect_with_edges( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>
source§fn detect_with_edges_def(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray,
positions: &mut impl ToOutputArray
) -> Result<()>
fn detect_with_edges_def( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>
source§fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>
fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>
source§fn set_min_dist(&mut self, min_dist: f64) -> Result<()>
fn set_min_dist(&mut self, min_dist: f64) -> Result<()>
source§impl GeneralizedHoughTrait for Ptr<GeneralizedHoughBallard>
impl GeneralizedHoughTrait for Ptr<GeneralizedHoughBallard>
fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void
source§fn set_template(
&mut self,
templ: &impl ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template( &mut self, templ: &impl ToInputArray, templ_center: Point ) -> Result<()>
source§fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>
fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>
source§fn set_template_1(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, templ_center: Point ) -> Result<()>
source§fn set_template_def_1(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray
) -> Result<()>
fn set_template_def_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray ) -> Result<()>
source§fn detect(
&mut self,
image: &impl ToInputArray,
positions: &mut impl ToOutputArray,
votes: &mut impl ToOutputArray
) -> Result<()>
fn detect( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>
source§fn detect_def(
&mut self,
image: &impl ToInputArray,
positions: &mut impl ToOutputArray
) -> Result<()>
fn detect_def( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>
source§fn detect_with_edges(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray,
positions: &mut impl ToOutputArray,
votes: &mut impl ToOutputArray
) -> Result<()>
fn detect_with_edges( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>
source§fn detect_with_edges_def(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray,
positions: &mut impl ToOutputArray
) -> Result<()>
fn detect_with_edges_def( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>
source§fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>
fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>
source§fn set_min_dist(&mut self, min_dist: f64) -> Result<()>
fn set_min_dist(&mut self, min_dist: f64) -> Result<()>
source§impl GeneralizedHoughTrait for Ptr<GeneralizedHoughGuil>
impl GeneralizedHoughTrait for Ptr<GeneralizedHoughGuil>
fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void
source§fn set_template(
&mut self,
templ: &impl ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template( &mut self, templ: &impl ToInputArray, templ_center: Point ) -> Result<()>
source§fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>
fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>
source§fn set_template_1(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, templ_center: Point ) -> Result<()>
source§fn set_template_def_1(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray
) -> Result<()>
fn set_template_def_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray ) -> Result<()>
source§fn detect(
&mut self,
image: &impl ToInputArray,
positions: &mut impl ToOutputArray,
votes: &mut impl ToOutputArray
) -> Result<()>
fn detect( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>
source§fn detect_def(
&mut self,
image: &impl ToInputArray,
positions: &mut impl ToOutputArray
) -> Result<()>
fn detect_def( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>
source§fn detect_with_edges(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray,
positions: &mut impl ToOutputArray,
votes: &mut impl ToOutputArray
) -> Result<()>
fn detect_with_edges( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>
source§fn detect_with_edges_def(
&mut self,
edges: &impl ToInputArray,
dx: &impl ToInputArray,
dy: &impl ToInputArray,
positions: &mut impl ToOutputArray
) -> Result<()>
fn detect_with_edges_def( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>
source§fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>
fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>
source§fn set_min_dist(&mut self, min_dist: f64) -> Result<()>
fn set_min_dist(&mut self, min_dist: f64) -> Result<()>
source§impl GpuMat_AllocatorTrait for Ptr<GpuMat_Allocator>
impl GpuMat_AllocatorTrait for Ptr<GpuMat_Allocator>
source§impl GpuMat_AllocatorTraitConst for Ptr<GpuMat_Allocator>
impl GpuMat_AllocatorTraitConst for Ptr<GpuMat_Allocator>
fn as_raw_GpuMat_Allocator(&self) -> *const c_void
source§impl InnerProductLayerInt8Trait for Ptr<InnerProductLayerInt8>
impl InnerProductLayerInt8Trait for Ptr<InnerProductLayerInt8>
fn as_raw_mut_InnerProductLayerInt8(&mut self) -> *mut c_void
fn set_output_zp(&mut self, val: i32)
source§impl InterpLayerTrait for Ptr<InterpLayer>
impl InterpLayerTrait for Ptr<InterpLayer>
fn as_raw_mut_InterpLayer(&mut self) -> *mut c_void
source§impl InterpLayerTraitConst for Ptr<InterpLayer>
impl InterpLayerTraitConst for Ptr<InterpLayer>
fn as_raw_InterpLayer(&self) -> *const c_void
source§impl LRNLayerTrait for Ptr<LRNLayer>
impl LRNLayerTrait for Ptr<LRNLayer>
source§impl LRNLayerTraitConst for Ptr<LRNLayer>
impl LRNLayerTraitConst for Ptr<LRNLayer>
source§impl LSTMLayerTrait for Ptr<LSTMLayer>
impl LSTMLayerTrait for Ptr<LSTMLayer>
fn as_raw_mut_LSTMLayer(&mut self) -> *mut c_void
source§fn set_weights(&mut self, wh: &Mat, wx: &Mat, b: &Mat) -> Result<()>
fn set_weights(&mut self, wh: &Mat, wx: &Mat, b: &Mat) -> Result<()>
source§fn set_out_shape(&mut self, out_tail_shape: &MatShape) -> Result<()>
fn set_out_shape(&mut self, out_tail_shape: &MatShape) -> Result<()>
T], N] + @p outTailShape.
@details If this parameter is empty or unset then @p outTailShape = [Wh.size(0)] will be used,
where Wh is parameter from setWeights(). Read moresource§fn set_out_shape_def(&mut self) -> Result<()>
fn set_out_shape_def(&mut self) -> Result<()>
T], N] + @p outTailShape.
@details If this parameter is empty or unset then @p outTailShape = [Wh.size(0)] will be used,
where Wh is parameter from setWeights(). Read moresource§fn set_use_timstamps_dim(&mut self, use_: bool) -> Result<()>
fn set_use_timstamps_dim(&mut self, use_: bool) -> Result<()>
produce_cell_output in LayerParams.produce_cell_output in LayerParams.
Specifies either interpret first dimension of input blob as timestamp dimension either as sample. Read moresource§fn set_use_timstamps_dim_def(&mut self) -> Result<()>
fn set_use_timstamps_dim_def(&mut self) -> Result<()>
produce_cell_output in LayerParams.produce_cell_output in LayerParams.
Specifies either interpret first dimension of input blob as timestamp dimension either as sample. Read moresource§fn set_produce_cell_output(&mut self, produce: bool) -> Result<()>
fn set_produce_cell_output(&mut self, produce: bool) -> Result<()>
use_timestamp_dim in LayerParams.use_timestamp_dim in LayerParams.
If this flag is set to true then layer will produce @f$ c_t @f$ as second output.
@details Shape of the second output is the same as first output. Read moresource§fn set_produce_cell_output_def(&mut self) -> Result<()>
fn set_produce_cell_output_def(&mut self) -> Result<()>
use_timestamp_dim in LayerParams.use_timestamp_dim in LayerParams.
If this flag is set to true then layer will produce @f$ c_t @f$ as second output.
@details Shape of the second output is the same as first output. Read more